diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-02-17 23:14:52 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-02-18 09:53:25 +0300 |
commit | 07ab7ae3d2e64dafb8f6dab937986d8e366d1fe5 (patch) | |
tree | e208621d1a05c6d1d288445ccaa051bf33fbc92b /hugolib/template_test.go | |
parent | ed847ed93d86d0e1c0993adfee787e7fa02e604b (diff) |
hugolib: More test helper cleanup
Diffstat (limited to 'hugolib/template_test.go')
-rw-r--r-- | hugolib/template_test.go | 16 |
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") }, }, } { |