diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-02-17 21:14:52 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-02-18 07:53:25 +0100 |
commit | 07ab7ae3d2e64dafb8f6dab937986d8e366d1fe5 (patch) | |
tree | e208621d1a05c6d1d288445ccaa051bf33fbc92b /hugolib/case_insensitive_test.go | |
parent | ed847ed93d86d0e1c0993adfee787e7fa02e604b (diff) |
hugolib: More test helper cleanup
Diffstat (limited to 'hugolib/case_insensitive_test.go')
-rw-r--r-- | hugolib/case_insensitive_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hugolib/case_insensitive_test.go b/hugolib/case_insensitive_test.go index b0a25bac3..96953b18b 100644 --- a/hugolib/case_insensitive_test.go +++ b/hugolib/case_insensitive_test.go @@ -191,7 +191,7 @@ Site Colors: {{ .Site.Params.COLOR }}|{{ .Site.Params.COLORS.YELLOW }} t.Fatalf("Failed to build sites: %s", err) } - th.assertFileContent(filepath.Join("public", "nn", "sect1", "page1", "index.html"), true, + th.assertFileContent(filepath.Join("public", "nn", "sect1", "page1", "index.html"), "Page Colors: red|heavenly", "Site Colors: green|yellow", "Site Lang Mood: Happy", @@ -204,7 +204,7 @@ Site Colors: {{ .Site.Params.COLOR }}|{{ .Site.Params.COLORS.YELLOW }} "«Hi»", // angled quotes ) - th.assertFileContent(filepath.Join("public", "en", "sect1", "page1", "index.html"), true, + th.assertFileContent(filepath.Join("public", "en", "sect1", "page1", "index.html"), "Site Colors: Pink|golden", "Page Colors: black|bluesy", "Site Lang Mood: Thoughtful", @@ -213,7 +213,7 @@ Site Colors: {{ .Site.Params.COLOR }}|{{ .Site.Params.COLORS.YELLOW }} "“Hi”", ) - th.assertFileContent(filepath.Join("public", "nn", "sect2", "page2", "index.html"), true, + th.assertFileContent(filepath.Join("public", "nn", "sect2", "page2", "index.html"), "Page Colors: black|sky", "Site Colors: green|yellow", "Shortcode Page: black|sky", @@ -296,7 +296,7 @@ p t.Fatalf("Failed to build sites: %s", err) } - th.assertFileContent(filepath.Join("public", "nn", "sect1", "page1", "index.html"), true, + th.assertFileContent(filepath.Join("public", "nn", "sect1", "page1", "index.html"), "Page Colors: red|heavenly", "Site Colors: green|yellow", "Shortcode Page: red|heavenly", |