Sfoglia il codice sorgente

Update unit test for Sans-Serif theme

Dave Z 8 anni fa
parent
commit
d3b48b7695
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      model/theme_test.go

+ 1 - 1
model/theme_test.go

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