Skip to content

Commit

Permalink
[Test] adjust test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
zhgchgli committed May 28, 2024
1 parent a60c0ce commit 4fc4cf4
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ final class MarkupNSAttributedStringVisitorTests: XCTestCase {
let rootMarkup = RootMarkup()
let paragraphMarkup_1 = ParagraphMarkup()
let paragraphMarkup_2 = ParagraphMarkup()
let listMarkup = ListMarkup(styleList: MarkupStyleList(type: .circle, format: "%@", startingItemNumber: 1))
let listMarkup = ListMarkup(styleList: MarkupStyleList(type: .circle, format: "%@", indentSymobol: "\t", startingItemNumber: 1))
let listItemMarkup_1 = ListItemMarkup()
listItemMarkup_1.appendChild(markup: RawStringMarkup(attributedString: NSAttributedString(string: "11")))
let listItemMarkup_2 = ListItemMarkup()
Expand All @@ -89,7 +89,7 @@ final class MarkupNSAttributedStringVisitorTests: XCTestCase {

let result = visitor.visit(rootMarkup).string

XCTAssertEqual(result, " ◦11\n ◦22\n22\n ◦333\n\n", "Breakline reduce failed!")
XCTAssertEqual(result, "◦11\n◦22\n22\n◦333\n\n", "Breakline reduce failed!")
}


Expand Down

0 comments on commit 4fc4cf4

Please sign in to comment.