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/embedded_shortcodes_test.go | |
parent | ed847ed93d86d0e1c0993adfee787e7fa02e604b (diff) |
hugolib: More test helper cleanup
Diffstat (limited to 'hugolib/embedded_shortcodes_test.go')
-rw-r--r-- | hugolib/embedded_shortcodes_test.go | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/hugolib/embedded_shortcodes_test.go b/hugolib/embedded_shortcodes_test.go index e9140f999..5f0f621f9 100644 --- a/hugolib/embedded_shortcodes_test.go +++ b/hugolib/embedded_shortcodes_test.go @@ -115,7 +115,7 @@ title: Shorty buildSingleSite(t, deps.DepsCfg{Fs: fs, Cfg: cfg}, BuildCfg{}) - th.assertFileContentRegexp(filepath.Join("public", "simple", "index.html"), false, this.expected) + th.assertFileContentRegexp(filepath.Join("public", "simple", "index.html"), this.expected) } } @@ -160,7 +160,7 @@ title: Shorty buildSingleSite(t, deps.DepsCfg{Fs: fs, Cfg: cfg}, BuildCfg{}) - th.assertFileContentRegexp(filepath.Join("public", "simple", "index.html"), false, this.expected) + th.assertFileContentRegexp(filepath.Join("public", "simple", "index.html"), this.expected) } } @@ -190,7 +190,7 @@ title: Shorty buildSingleSite(t, deps.DepsCfg{Fs: fs, Cfg: cfg}, BuildCfg{}) - th.assertFileContentRegexp(filepath.Join("public", "simple", "index.html"), false, this.expected) + th.assertFileContentRegexp(filepath.Join("public", "simple", "index.html"), this.expected) } } @@ -228,7 +228,7 @@ title: Shorty buildSingleSite(t, deps.DepsCfg{Fs: fs, Cfg: cfg}, BuildCfg{}) - th.assertFileContentRegexp(filepath.Join("public", "simple", "index.html"), false, this.expected) + th.assertFileContentRegexp(filepath.Join("public", "simple", "index.html"), this.expected) } } @@ -267,7 +267,7 @@ title: Shorty buildSingleSite(t, deps.DepsCfg{Fs: fs, Cfg: cfg}, BuildCfg{}) - th.assertFileContentRegexp(filepath.Join("public", "simple", "index.html"), false, this.expected) + th.assertFileContentRegexp(filepath.Join("public", "simple", "index.html"), this.expected) } } @@ -300,7 +300,7 @@ title: Shorty buildSingleSite(t, deps.DepsCfg{Fs: fs, Cfg: cfg}, BuildCfg{}) - th.assertFileContentRegexp(filepath.Join("public", "simple", "index.html"), false, this.expected) + th.assertFileContentRegexp(filepath.Join("public", "simple", "index.html"), this.expected) } } @@ -348,7 +348,7 @@ title: Shorty buildSingleSite(t, deps.DepsCfg{Fs: fs, Cfg: cfg, WithTemplate: withTemplate}, BuildCfg{}) - th.assertFileContentRegexp(filepath.Join("public", "simple", "index.html"), false, this.expected) + th.assertFileContentRegexp(filepath.Join("public", "simple", "index.html"), this.expected) } } @@ -403,7 +403,7 @@ title: Shorty buildSingleSite(t, deps.DepsCfg{Fs: fs, Cfg: cfg, WithTemplate: withTemplate}, BuildCfg{}) - th.assertFileContentRegexp(filepath.Join("public", "simple", "index.html"), false, this.expected) + th.assertFileContentRegexp(filepath.Join("public", "simple", "index.html"), this.expected) } } |