Skip to content

Commit e840a64

Browse files
committed
Fixed failing test
1 parent 080f0cc commit e840a64

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/CodeEditSourceEditorTests/FindPanelViewModelTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ struct FindPanelViewModelTests {
1717
var text: String = ""
1818
var findPanelTargetView: NSView
1919
var cursorPositions: [CursorPosition] = []
20+
var textView: TextView!
2021

2122
@MainActor init() {
2223
findPanelTargetView = NSView()
24+
textView = TextView(string: text)
2325
}
2426

2527
func setCursorPositions(_ positions: [CursorPosition], scrollToVisible: Bool) { }

0 commit comments

Comments
 (0)