diff --git a/AsyncDisplayKitTests/ASTextNodeTests.m b/AsyncDisplayKitTests/ASTextNodeTests.m index 9eb6018c93..9e9c52c2b2 100644 --- a/AsyncDisplayKitTests/ASTextNodeTests.m +++ b/AsyncDisplayKitTests/ASTextNodeTests.m @@ -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