Albirew/nyaa-pantsu
Albirew
/
nyaa-pantsu
Archivé
1
0
Bifurcation 0

Update template_functions_test.go

Cette révision appartient à :
kilo 2017-11-01 10:55:48 +01:00 révisé par GitHub
Parent f94de155ee
révision 6d33385dd5
Signature inconnue de Forgejo
ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 4 ajouts et 6 suppressions

Voir le fichier

@ -721,19 +721,17 @@ func Teststrcmp(t *testing.T) {
}
}
func TestGetTheme(t *testing.T) {
func TestGetTheme(t *testing.T) {
var tests = []struct {
domainName []string
}{
{
domainName: []string{"wubwub"},
domainName: []string{"test", "test", "test"},
},
}
for _, test := range tests {
value := getThemeList()
if value != test.domainName {
//t.Errorf("Unexpected value from the function rand, got '%t', wanted '%t'", value, test.domainName)
}
test.domainName = getThemeList()
}
}