Update unit test for Sans-Serif theme
This commit is contained in:
parent
29131d4ee6
commit
d3b48b7695
1 changed files with 1 additions and 1 deletions
|
@ -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`)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue