Moved test files to testdata folder.

Changed the tests accordingly.
This commit is contained in:
Maxime
2015-07-23 09:35:46 +02:00
parent 2df30d186e
commit bc2feece4b
18 changed files with 18 additions and 9 deletions

View File

@ -25,8 +25,8 @@ func Test(t *testing.T) {
Path: "/images",
},
},
Root: ".",
FileSys: http.Dir("."),
Root: "./testdata",
FileSys: http.Dir("./testdata"),
}
tmplroot := Templates{
@ -40,8 +40,8 @@ func Test(t *testing.T) {
Path: "/",
},
},
Root: ".",
FileSys: http.Dir("."),
Root: "./testdata",
FileSys: http.Dir("./testdata"),
}
/*