Skip to content

Commit fa4c640

Browse files
committed
Fix test
1 parent 46ac801 commit fa4c640

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

AztecTests/TextKit/TextViewTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1673,7 +1673,7 @@ class TextViewTests: XCTestCase {
16731673

16741674
textView.insertText("😘")
16751675
let currentTypingFont = textView.typingAttributes[.font] as! UIFont
1676-
XCTAssertEqual(currentTypingFont, font, "Font should be set to default")
1676+
XCTAssertEqual(currentTypingFont.fontDescriptor, font.fontDescriptor, "Font should be set to default")
16771677
}
16781678

16791679

0 commit comments

Comments
 (0)