unify test data (#1417)

mkdir a test data dir.
This commit is contained in:
田欧
2018-08-12 23:38:31 +08:00
committed by Bo-Yi Wu
parent 1ae32f3a2c
commit 6159213462
13 changed files with 23 additions and 23 deletions

View File

@ -1117,7 +1117,7 @@ func main() {
router.SetFuncMap(template.FuncMap{
"formatAsDate": formatAsDate,
})
router.LoadHTMLFiles("./fixtures/basic/raw.tmpl")
router.LoadHTMLFiles("./testdata/template/raw.tmpl")
router.GET("/raw", func(c *gin.Context) {
c.HTML(http.StatusOK, "raw.tmpl", map[string]interface{}{