mirror of
https://github.com/caddyserver/caddy.git
synced 2026-10-09 15:37:42 +00:00
Moved test files to testdata folder.
Changed the tests accordingly.
This commit is contained in:
parent
2df30d186e
commit
bc2feece4b
18 changed files with 18 additions and 9 deletions
1
middleware/templates/testdata/header.html
vendored
Normal file
1
middleware/templates/testdata/header.html
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
<h1>Header title</h1>
|
||||
1
middleware/templates/testdata/images/header.html
vendored
Normal file
1
middleware/templates/testdata/images/header.html
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
<h1>Header title</h1>
|
||||
1
middleware/templates/testdata/images/img.htm
vendored
Normal file
1
middleware/templates/testdata/images/img.htm
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
<!DOCTYPE html><html><head><title>img</title></head><body>{{.Include "header.html"}}</body></html>
|
||||
1
middleware/templates/testdata/photos/test.html
vendored
Normal file
1
middleware/templates/testdata/photos/test.html
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
<!DOCTYPE html><html><head><title>test page</title></head><body>{{.Include "../header.html"}}</body></html>
|
||||
1
middleware/templates/testdata/root.html
vendored
Normal file
1
middleware/templates/testdata/root.html
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
<!DOCTYPE html><html><head><title>root</title></head><body>{{.Include "header.html"}}</body></html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue