Skip to content

Commit

Permalink
Revert change to test checker method
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul-malik committed Jul 18, 2019
1 parent 67ae90e commit f889231
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Tests/ASDisplayNodeTests.mm
Original file line number Diff line number Diff line change
Expand Up @@ -575,11 +575,7 @@ - (void)checkValuesMatchSetValues:(ASDisplayNode *)node isLayerBacked:(BOOL)isLa
XCTAssertEqual(isLayerBacked, node.isLayerBacked, @"isLayerBacked broken %@", hasLoadedView);
XCTAssertEqualObjects((id)[self bogusImage].CGImage, (id)node.contents, @"contents broken %@", hasLoadedView);
XCTAssertEqual(YES, node.clipsToBounds, @"clipsToBounds broken %@", hasLoadedView);
if (node.nodeLoaded && !isLayerBacked) {
XCTAssertEqual(YES, node.opaque, @"opaque broken %@", hasLoadedView);
} else {
XCTAssertEqual(NO, node.opaque, @"opaque broken %@", hasLoadedView);
}
XCTAssertEqual(NO, node.opaque, @"opaque broken %@", hasLoadedView);
XCTAssertEqual(YES, node.needsDisplayOnBoundsChange, @"needsDisplayOnBoundsChange broken %@", hasLoadedView);
XCTAssertEqual(NO, node.allowsGroupOpacity, @"allowsGroupOpacity broken %@", hasLoadedView);
XCTAssertEqual(YES, node.allowsEdgeAntialiasing, @"allowsEdgeAntialiasing broken %@", hasLoadedView);
Expand Down

0 comments on commit f889231

Please sign in to comment.