mirror of
https://github.com/caddyserver/caddy.git
synced 2025-06-04 11:14:42 +08:00
Moved test files to testdata folder.
Changed the tests accordingly.
This commit is contained in:
@ -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"),
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user