summaryrefslogtreecommitdiffstats
path: root/hugolib/template_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-02-17 21:14:52 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-02-18 07:53:25 +0100
commit07ab7ae3d2e64dafb8f6dab937986d8e366d1fe5 (patch)
treee208621d1a05c6d1d288445ccaa051bf33fbc92b /hugolib/template_test.go
parented847ed93d86d0e1c0993adfee787e7fa02e604b (diff)
hugolib: More test helper cleanup
Diffstat (limited to 'hugolib/template_test.go')
-rw-r--r--hugolib/template_test.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/hugolib/template_test.go b/hugolib/template_test.go
index 5a6ce2f01..d69345817 100644
--- a/hugolib/template_test.go
+++ b/hugolib/template_test.go
@@ -48,7 +48,7 @@ func TestBaseGoTemplate(t *testing.T) {
},
func(t *testing.T) {
- th.assertFileContent(filepath.Join("public", "sect", "index.html"), false, "Base: sect")
+ th.assertFileContent(filepath.Join("public", "sect", "index.html"), "Base: sect")
},
},
{
@@ -59,7 +59,7 @@ func TestBaseGoTemplate(t *testing.T) {
},
func(t *testing.T) {
- th.assertFileContent(filepath.Join("public", "index.html"), false, "Base: index")
+ th.assertFileContent(filepath.Join("public", "index.html"), "Base: index")
},
},
{
@@ -70,7 +70,7 @@ func TestBaseGoTemplate(t *testing.T) {
},
func(t *testing.T) {
- th.assertFileContent(filepath.Join("public", "sect", "index.html"), false, "Base: list")
+ th.assertFileContent(filepath.Join("public", "sect", "index.html"), "Base: list")
},
},
{
@@ -81,7 +81,7 @@ func TestBaseGoTemplate(t *testing.T) {
},
func(t *testing.T) {
- th.assertFileContent(filepath.Join("public", "sect", "index.html"), false, "Base: list")
+ th.assertFileContent(filepath.Join("public", "sect", "index.html"), "Base: list")
},
},
{
@@ -94,7 +94,7 @@ func TestBaseGoTemplate(t *testing.T) {
},
func(t *testing.T) {
- th.assertFileContent(filepath.Join("public", "sect", "index.html"), false, "Base: sect")
+ th.assertFileContent(filepath.Join("public", "sect", "index.html"), "Base: sect")
},
},
{
@@ -106,7 +106,7 @@ func TestBaseGoTemplate(t *testing.T) {
},
func(t *testing.T) {
- th.assertFileContent(filepath.Join("public", "sect", "index.html"), false, "Base Theme: sect")
+ th.assertFileContent(filepath.Join("public", "sect", "index.html"), "Base Theme: sect")
},
},
{
@@ -119,7 +119,7 @@ func TestBaseGoTemplate(t *testing.T) {
},
func(t *testing.T) {
- th.assertFileContent(filepath.Join("public", "sect", "index.html"), false, "Base: list")
+ th.assertFileContent(filepath.Join("public", "sect", "index.html"), "Base: list")
},
},
{
@@ -131,7 +131,7 @@ func TestBaseGoTemplate(t *testing.T) {
},
func(t *testing.T) {
- th.assertFileContent(filepath.Join("public", "sect", "index.html"), false, "Base Theme: list")
+ th.assertFileContent(filepath.Join("public", "sect", "index.html"), "Base Theme: list")
},
},
} {