Minor formatting: added space in YGNodeMarkDirty assert message (#1243)

Summary:
Currently `YGNodeMarkDirty()` assert message displayed **without** space between 2 lines:
```
"Only leaf nodes with custom measure functionsshould manually mark themselves as dirty"
                                     ^^^^^^^^^^^^^^^
```
This minor PR fixes it :)

Pull Request resolved: https://github.com/facebook/yoga/pull/1243

Reviewed By: jacdebug

Differential Revision: D44870410

Pulled By: javache

fbshipit-source-id: 58db50106e8e2980ec84c99976f569b94b739d9b
This commit is contained in:
Yurii Nakonechnyi
2023-04-11 08:28:00 -07:00
committed by Facebook GitHub Bot
parent 3782644b32
commit d06f7b989e

View File

@@ -444,7 +444,7 @@ YOGA_EXPORT void YGNodeMarkDirty(const YGNodeRef node) {
YGAssertWithNode(
node,
node->hasMeasureFunc(),
"Only leaf nodes with custom measure functions"
"Only leaf nodes with custom measure functions "
"should manually mark themselves as dirty");
node->markDirtyAndPropagate();