Skip to content

Commit

Permalink
Update TextViewControllerTests.swift
Browse files Browse the repository at this point in the history
Co-authored-by: Austin Condiff <[email protected]>
  • Loading branch information
thecoolwinter and austincondiff authored Feb 28, 2024
1 parent f9a15bb commit bc1c20e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ final class TextViewControllerTests: XCTestCase {
controller.viewDidLoad()
let _ = controller.textView.becomeFirstResponder()
controller.bracketPairHighlight = nil
controller.setText("{ Loren Ipsum {} }")
controller.setText("{ Lorem Ipsum {} }")
controller.setCursorPositions([CursorPosition(line: 1, column: 2)]) // After first opening {
XCTAssert(controller.highlightLayers.isEmpty, "Controller added highlight layer when setting is set to `nil`")
controller.setCursorPositions([CursorPosition(line: 1, column: 3)])
Expand Down

0 comments on commit bc1c20e

Please sign in to comment.