Skip to content

Commit 8fd4180

Browse files
committed
Update tests.
1 parent 7d468c9 commit 8fd4180

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AztecTests/TextKit/TextStorageTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ class TextStorageTests: XCTestCase {
566566
/// Verifies that spaces are not collapsed
567567
///
568568
func testConverterCollapsesSpacesText() {
569-
let initialHTML = "<p> Hello <br> World </p>"
569+
let initialHTML = "<p> Hello <br> <strong>World</strong> </p>"
570570

571571
// Setup
572572
let defaultAttributes: [NSAttributedString.Key: Any] = [.font: UIFont.systemFont(ofSize: 14),
@@ -575,7 +575,7 @@ class TextStorageTests: XCTestCase {
575575
storage.htmlConverter.shouldCollapseSpaces = false
576576
storage.setHTML(initialHTML, defaultAttributes: defaultAttributes)
577577

578-
let expectedResult = "<p> Hello <br> World </p>"
578+
let expectedResult = "<p> Hello <br> <strong>World</strong> </p>"
579579
let result = storage.getHTML()
580580
XCTAssertEqual(expectedResult, result)
581581
}

0 commit comments

Comments
 (0)