use correct undefined function

This commit is contained in:
Lukas Woehrl
2016-12-16 11:42:36 +01:00
parent f84583c002
commit e258d9867d
2 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ TEST(YogaTest, copy_style_modified) {
const YGNodeRef node0 = YGNodeNew();
ASSERT_FALSE(YGNodeIsDirty(node0));
ASSERT_EQ(YGFlexDirectionColumn, YGNodeStyleGetFlexDirection(node0));
ASSERT_TRUE(YGValueIsUndefined(YGNodeStyleGetMaxHeight(node0)));
ASSERT_TRUE(YGFloatIsUndefined(YGNodeStyleGetMaxHeight(node0)));
const YGNodeRef node1 = YGNodeNew();
YGNodeStyleSetFlexDirection(node1, YGFlexDirectionRow);