summaryrefslogtreecommitdiffstats
path: root/hugolib/site_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/site_test.go
parented847ed93d86d0e1c0993adfee787e7fa02e604b (diff)
hugolib: More test helper cleanup
Diffstat (limited to 'hugolib/site_test.go')
-rw-r--r--hugolib/site_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/hugolib/site_test.go b/hugolib/site_test.go
index be9028543..9629f763a 100644
--- a/hugolib/site_test.go
+++ b/hugolib/site_test.go
@@ -275,7 +275,7 @@ THE END.`, refShortcode)),
}
for _, test := range tests {
- th.assertFileContent(test.doc, true, test.expected)
+ th.assertFileContent(test.doc, test.expected)
}
@@ -429,7 +429,7 @@ func doTestSectionNaming(t *testing.T, canonify, uglify, pluralize bool) {
test.expected = inflect.Pluralize(test.expected)
}
- th.assertFileContent(filepath.Join("public", test.doc), true, test.expected)
+ th.assertFileContent(filepath.Join("public", test.doc), test.expected)
}
}
@@ -542,7 +542,7 @@ func TestAbsURLify(t *testing.T) {
expected = strings.Replace(expected, baseURL, "", -1)
}
- th.assertFileContent(test.file, true, expected)
+ th.assertFileContent(test.file, expected)
}
}