Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Forgot to add a test

Cette révision appartient à :
akuma06 2017-07-04 01:22:12 +02:00
Parent e2f3507069
révision 2a0c2be105

Voir le fichier

@ -108,6 +108,14 @@ func walkDirTest(dir string, t *testing.T) {
vars.Set("Models", []models.TorrentReportJSON{})
return vars
},
"report.jet.html": func(vars jet.VarMap) jet.VarMap {
type form struct {
ID int
CaptchID string
}
vars.Set("Form", form{1, ""})
return vars
},
}
fmt.Printf("\nTesting Folder: %s\n", dir)