Skip to content

Commit 38a690c

Browse files
committed
Two hops this time
1 parent 7e0370d commit 38a690c

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

Tests/CodeEditSourceEditorTests/TextViewControllerTests.swift

+1-18
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,7 @@ final class TextViewControllerTests: XCTestCase {
1212
var theme: EditorTheme!
1313

1414
override func setUpWithError() throws {
15-
theme = EditorTheme(
16-
text: .textColor,
17-
insertionPoint: .textColor,
18-
invisibles: .gray,
19-
background: .textBackgroundColor,
20-
lineHighlight: .highlightColor,
21-
selection: .selectedTextColor,
22-
keywords: .systemPink,
23-
commands: .systemBlue,
24-
types: .systemMint,
25-
attributes: .systemTeal,
26-
variables: .systemCyan,
27-
values: .systemOrange,
28-
numbers: .systemYellow,
29-
strings: .systemRed,
30-
characters: .systemRed,
31-
comments: .systemGreen
32-
)
15+
theme = Mock.theme()
3316
controller = TextViewController(
3417
string: "",
3518
language: .default,

0 commit comments

Comments
 (0)