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:38:16 +01:00 révisé par GitHub
Parent 85041c4c0a
révision ee75266370
Signature inconnue de Forgejo
ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 3 ajouts et 12 suppressions

Voir le fichier

@ -722,18 +722,9 @@ func Teststrcmp(t *testing.T) {
}
func TestGetTheme(t *testing.T) {
var tests = []struct {
TestThemeCount int
}{
{
TestThemeCount: 0,
},
}
for _, test := range tests {
themeCount := len(getThemeList())
if TestThemeCount == themeCount {
t.Error("Unexpected value from the function getThemeList, returned no theme")
}
themeCount := len(getThemeList())
if themeCount == 0 {
t.Error("Unexpected value from the function getThemeList, returned no theme")
}
}