mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-13 09:50:17 +00:00
Fix mistakenly renamed method in unit test
This commit is contained in:
parent
397e5b15e9
commit
197a31f636
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user