summaryrefslogtreecommitdiffstats
path: root/hugolib/case_insensitive_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/case_insensitive_test.go
parented847ed93d86d0e1c0993adfee787e7fa02e604b (diff)
hugolib: More test helper cleanup
Diffstat (limited to 'hugolib/case_insensitive_test.go')
-rw-r--r--hugolib/case_insensitive_test.go8
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 }}
"&laquo;Hi&raquo;", // 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 }}
"&ldquo;Hi&rdquo;",
)
- 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",