Skip to content

Commit 7e0370d

Browse files
committed
Update Test
1 parent b5b5a8f commit 7e0370d

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

Tests/CodeEditSourceEditorTests/Mock.swift

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -69,22 +69,22 @@ enum Mock {
6969

7070
static func theme() -> EditorTheme {
7171
EditorTheme(
72-
text: .textColor,
72+
text: EditorTheme.Attribute(color: .textColor),
7373
insertionPoint: .textColor,
74-
invisibles: .gray,
74+
invisibles: EditorTheme.Attribute(color: .gray),
7575
background: .textBackgroundColor,
7676
lineHighlight: .highlightColor,
7777
selection: .selectedTextColor,
78-
keywords: .systemPink,
79-
commands: .systemBlue,
80-
types: .systemMint,
81-
attributes: .systemTeal,
82-
variables: .systemCyan,
83-
values: .systemOrange,
84-
numbers: .systemYellow,
85-
strings: .systemRed,
86-
characters: .systemRed,
87-
comments: .systemGreen
78+
keywords: EditorTheme.Attribute(color: .systemPink),
79+
commands: EditorTheme.Attribute(color: .systemBlue),
80+
types: EditorTheme.Attribute(color: .systemMint),
81+
attributes: EditorTheme.Attribute(color: .systemTeal),
82+
variables: EditorTheme.Attribute(color: .systemCyan),
83+
values: EditorTheme.Attribute(color: .systemOrange),
84+
numbers: EditorTheme.Attribute(color: .systemYellow),
85+
strings: EditorTheme.Attribute(color: .systemRed),
86+
characters: EditorTheme.Attribute(color: .systemRed),
87+
comments: EditorTheme.Attribute(color: .systemGreen)
8888
)
8989
}
9090

0 commit comments

Comments
 (0)