Skip to content

Commit

Permalink
Fix remaining conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
mazevedofs committed Jan 8, 2024
1 parent 88bc66f commit f2841ee
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ final class WKSourceEditorTextFrameworkMediatorTests: XCTestCase {
XCTAssertFalse(selectionStates9.isItalics)
}

<<<<<<< HEAD
func testSelectionSpanningNonFormattedState1() throws {
let text = "Testing '''bold with {{template}}''' selection that spans nonbold."
mediator.textView.attributedText = NSAttributedString(string: text)
Expand All @@ -80,7 +79,7 @@ final class WKSourceEditorTextFrameworkMediatorTests: XCTestCase {
let selectionStates1 = mediator.selectionState(selectedDocumentRange: NSRange(location: 10, length: 21))
XCTAssertFalse(selectionStates1.isBold)
XCTAssertTrue(selectionStates1.isHorizontalTemplate)
=======
}
func testClosingBoldSelectionStateCursor() throws {
let text = "One '''Two''' Three"
mediator.textView.attributedText = NSAttributedString(string: text)
Expand All @@ -95,7 +94,6 @@ final class WKSourceEditorTextFrameworkMediatorTests: XCTestCase {

let selectionStates = mediator.selectionState(selectedDocumentRange: NSRange(location: 9, length: 0))
XCTAssertTrue(selectionStates.isItalics)
>>>>>>> a08b4c44f206d70dc05551b00fbede5dc6dd8faa
}

func testHorizontalTemplateButtonSelectionStateCursor() throws {
Expand Down Expand Up @@ -167,7 +165,7 @@ final class WKSourceEditorTextFrameworkMediatorTests: XCTestCase {
let selectionStates = mediator.selectionState(selectedDocumentRange: NSRange(location: 26, length: 77))
XCTAssertTrue(selectionStates.isHorizontalTemplate)
}

func testStrikethroughSelectionState() throws {
let text = "Testing <s>Strikethrough</s> Testing."
mediator.textView.attributedText = NSAttributedString(string: text)
Expand Down

0 comments on commit f2841ee

Please sign in to comment.