style: fix gofmt alignment in extras_test.go and ui.go

This commit is contained in:
Willie
2026-03-04 12:16:32 +08:00
parent 671e3c5215
commit 65c7d75c41
2 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -46,7 +46,7 @@ func TestDiscoverExtraFiles(t *testing.T) {
}
expected := map[string]bool{
"flat.txt": true,
"flat.txt": true,
filepath.Join("nested", "deep.md"): true,
}
for _, f := range files {
@@ -60,7 +60,7 @@ func TestDiscoverExtraFiles(t *testing.T) {
func TestSyncExtra_MergeMode(t *testing.T) {
src, tgt := setupExtrasTest(t, map[string]string{
"rules.md": "# Rules",
"rules.md": "# Rules",
"config.yml": "key: value",
})
+13 -13
View File
@@ -9,20 +9,20 @@ import (
// Base colors for terminal output
const (
Reset = "\033[0m"
Red = "\033[31m"
Green = "\033[32m"
Yellow = "\033[33m"
Blue = "\033[34m"
Magenta = "\033[35m"
Cyan = "\033[36m"
Orange = "\033[38;5;208m"
Purple = "\033[38;5;135m"
BrightRed = "\033[38;5;9m"
OrangeAlt = "\033[38;5;214m"
Reset = "\033[0m"
Red = "\033[31m"
Green = "\033[32m"
Yellow = "\033[33m"
Blue = "\033[34m"
Magenta = "\033[35m"
Cyan = "\033[36m"
Orange = "\033[38;5;208m"
Purple = "\033[38;5;135m"
BrightRed = "\033[38;5;9m"
OrangeAlt = "\033[38;5;214m"
BrightBlue = "\033[38;5;12m"
Gray = "\033[90m"
White = "\033[97m"
Gray = "\033[90m"
White = "\033[97m"
)
// Semantic color aliases for consistent theming