From 197a31f636f9e3729681a39fcf6c60bc4e18d77d Mon Sep 17 00:00:00 2001 From: Levi McCallum Date: Mon, 9 Nov 2015 10:32:07 -0600 Subject: [PATCH] Fix mistakenly renamed method in unit test --- AsyncDisplayKitTests/ASTextNodeTests.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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