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

@ -0,0 +1 @@
<h1>Header title</h1>

View file

@ -0,0 +1 @@
<h1>Header title</h1>

View file

@ -0,0 +1 @@
<!DOCTYPE html><html><head><title>img</title></head><body>{{.Include "header.html"}}</body></html>

View file

@ -0,0 +1 @@
<!DOCTYPE html><html><head><title>test page</title></head><body>{{.Include "../header.html"}}</body></html>

View file

@ -0,0 +1 @@
<!DOCTYPE html><html><head><title>root</title></head><body>{{.Include "header.html"}}</body></html>