We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e0370d commit 38a690cCopy full SHA for 38a690c
Tests/CodeEditSourceEditorTests/TextViewControllerTests.swift
@@ -12,24 +12,7 @@ final class TextViewControllerTests: XCTestCase {
12
var theme: EditorTheme!
13
14
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
- )
+ theme = Mock.theme()
33
controller = TextViewController(
34
string: "",
35
language: .default,
0 commit comments