1
0
Fork 0

Update unit test for Sans-Serif theme

This commit is contained in:
Dave Z 2018-07-03 00:37:07 -04:00 committed by Frédéric Guillot
parent 29131d4ee6
commit d3b48b7695

View file

@ -7,7 +7,7 @@ package model
import "testing" import "testing"
func TestValidateTheme(t *testing.T) { func TestValidateTheme(t *testing.T) {
for _, status := range []string{"default", "black"} { for _, status := range []string{"default", "black", "sansserif"} {
if err := ValidateTheme(status); err != nil { if err := ValidateTheme(status); err != nil {
t.Error(`A valid theme should not generate any error`) t.Error(`A valid theme should not generate any error`)
} }