From c6d83047e5662214a0e6e4f341e5c952a53d524a Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 4 May 2025 15:08:23 +0900 Subject: Allow whitespace as separator in --color option --- src/options_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/options_test.go') diff --git a/src/options_test.go b/src/options_test.go index 5c9a789a..2105322e 100644 --- a/src/options_test.go +++ b/src/options_test.go @@ -333,7 +333,7 @@ func TestColorSpec(t *testing.T) { t.Errorf("colors should now be equivalent: %v, %v", tui.Dark256, customized) } - customized, _ = parseTheme(theme, "fg:231,dark,bg:232") + customized, _ = parseTheme(theme, "fg:231,dark bg:232") if customized.Fg != tui.Dark256.Fg || customized.Bg == tui.Dark256.Bg { t.Errorf("color not customized") } -- cgit v1.2.3