mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-16 11:20:18 +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];
|
NSAttributedString *truncation = [[NSAttributedString alloc] initWithString:@"..." attributes:nil];
|
||||||
_textNode.truncationAttributedString = truncation;
|
_textNode.truncationAttributedString = truncation;
|
||||||
// FIXME: The updated renderer applies style to the attributed string internally, thus this test fails
|
// 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
|
- (void)testCalculatedSizeIsGreaterThanOrEqualToConstrainedSize
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user