diff options
Diffstat (limited to 'src/options_test.go')
| -rw-r--r-- | src/options_test.go | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/options_test.go b/src/options_test.go index cc4d07c5..60136173 100644 --- a/src/options_test.go +++ b/src/options_test.go @@ -299,20 +299,14 @@ func TestColorSpec(t *testing.T) { } customized.Fg = curses.Dark256.Fg customized.Bg = curses.Dark256.Bg - if *curses.Dark256 == *customized { - t.Errorf("colors should now be equivalent") + if *curses.Dark256 != *customized { + t.Errorf("colors should now be equivalent: %v, %v", curses.Dark256, customized) } customized = parseTheme(theme, "fg:231,dark,bg:232") if customized.Fg != curses.Dark256.Fg || customized.Bg == curses.Dark256.Bg { t.Errorf("color not customized") } - if customized.UseDefault { - t.Errorf("not using default colors") - } - if !curses.Dark256.UseDefault { - t.Errorf("using default colors") - } } func TestParseNilTheme(t *testing.T) { |
