diff --git a/YogaKit/Tests/YogaKitTests.m b/YogaKit/Tests/YogaKitTests.m index d3d8cd0f..7fa3b0b5 100644 --- a/YogaKit/Tests/YogaKitTests.m +++ b/YogaKit/Tests/YogaKitTests.m @@ -21,7 +21,8 @@ - (void)testConfigureLayoutIsNoOpWithNilBlock { UIView *view = [[UIView alloc] initWithFrame:CGRectZero]; - XCTAssertNoThrow([view configureLayoutWithBlock:nil]); + id block = nil; + XCTAssertNoThrow([view configureLayoutWithBlock:block]); } - (void)testConfigureLayoutBlockWorksWithValidBlock