Fix mistakenly renamed method in unit test

This commit is contained in:
Levi McCallum 2015-11-09 10:32:07 -06:00 committed by Levi McCallum
parent 397e5b15e9
commit 197a31f636

View File

@ -85,7 +85,7 @@
NSAttributedString *truncation = [[NSAttributedString alloc] initWithString:@"..." attributes:nil];
_textNode.truncationAttributedString = truncation;
// FIXME: The updated renderer applies style to the attributed string internally, thus this test fails
XCTAssertTrue([_textNode.truncationAttributedString isEqualToString:truncation], @"Failed to set truncation message");
XCTAssertTrue([_textNode.truncationAttributedString isEqualToAttributedString:truncation], @"Failed to set truncation message");
}
- (void)testCalculatedSizeIsGreaterThanOrEqualToConstrainedSize