Skip to content

Commit 5754540

Browse files
hartbitfacebook-github-bot
authored andcommitted
Rename YGUnitPixel to YGPoint...
Summary: ...to reflect the modern world we live in with dynamic DPI platforms :) Closes facebook/yoga#375 Reviewed By: dshahidehpour Differential Revision: D4528518 Pulled By: emilsjolander fbshipit-source-id: e422bd4ae148e02c598a7b484a6adfa8c0e1e0c9
1 parent 1652c0a commit 5754540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UIExplorer/UIExplorerUnitTests/RCTConvert_YGValueTests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ - (void)testUndefined
3232
- (void)testNumberPoints
3333
{
3434
YGValue value = [RCTConvert YGValue:@100];
35-
XCTAssertEqual(value.unit, YGUnitPixel);
35+
XCTAssertEqual(value.unit, YGUnitPoint);
3636
XCTAssertEqual(value.value, 100);
3737
}
3838

0 commit comments

Comments
 (0)