From 2439d1360d47d77671c4ba5fbc143a0697035ba5 Mon Sep 17 00:00:00 2001 From: Ngo Quoc Dat Date: Tue, 13 Oct 2026 12:11:41 +0700 Subject: [PATCH] test: use the quinaryLabel spelling CI's Xcode accepts --- Packages/TableProEditor/Tests/TableProEditorKitTests/Mock.swift | 2 +- TableProTests/Views/Editor/EditorThemeBridgeTests.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Packages/TableProEditor/Tests/TableProEditorKitTests/Mock.swift b/Packages/TableProEditor/Tests/TableProEditorKitTests/Mock.swift index 0a044a6374..dd689733bb 100644 --- a/Packages/TableProEditor/Tests/TableProEditorKitTests/Mock.swift +++ b/Packages/TableProEditor/Tests/TableProEditorKitTests/Mock.swift @@ -172,7 +172,7 @@ enum Mock { text: EditorTheme.Attribute(color: .textColor), invisibles: EditorTheme.Attribute(color: .tertiaryLabelColor), background: .textBackgroundColor, - lineHighlight: .quinaryLabelColor, + lineHighlight: .quinaryLabel, selection: .selectedTextBackgroundColor, keywords: EditorTheme.Attribute(color: .systemPink), commands: EditorTheme.Attribute(color: .systemBlue), diff --git a/TableProTests/Views/Editor/EditorThemeBridgeTests.swift b/TableProTests/Views/Editor/EditorThemeBridgeTests.swift index 5d039ba8e4..1a02e7f341 100644 --- a/TableProTests/Views/Editor/EditorThemeBridgeTests.swift +++ b/TableProTests/Views/Editor/EditorThemeBridgeTests.swift @@ -106,7 +106,7 @@ struct EditorThemeBridgeTests { #expect(theme.lineNumber == .secondaryLabelColor) #expect(theme.invisibles.color == .tertiaryLabelColor) #expect(theme.lineHighlight == (settings.highlightCurrentLine ? NativeThemeColors.currentLine : .clear)) - #expect(theme.statementHighlight == (settings.highlightCurrentStatement ? .quinaryLabelColor : .clear)) + #expect(theme.statementHighlight == (settings.highlightCurrentStatement ? .quinaryLabel : .clear)) #expect(theme.insertionPoint == nil) }