From ed847ed93d86d0e1c0993adfee787e7fa02e604b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 17 Feb 2017 20:52:50 +0100 Subject: hugolib: Test helper cleanup --- hugolib/pagination_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hugolib/pagination_test.go') diff --git a/hugolib/pagination_test.go b/hugolib/pagination_test.go index cad0d27da..f46b71bf5 100644 --- a/hugolib/pagination_test.go +++ b/hugolib/pagination_test.go @@ -320,9 +320,9 @@ Pages: {{ .Paginator.TotalPages }} s := buildSingleSite(t, deps.DepsCfg{Fs: fs, Cfg: cfg}, BuildCfg{}) - th := testHelper{s.Cfg} + th := testHelper{s.Cfg, s.Fs, t} - th.assertFileContent(t, fs, filepath.Join("public", "阅读", "testing", "2", "index.html"), false, "2: /%E9%98%85%E8%AF%BB/testing/2/") + th.assertFileContent(filepath.Join("public", "阅读", "testing", "2", "index.html"), false, "2: /%E9%98%85%E8%AF%BB/testing/2/") } -- cgit v1.2.3