diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-02-17 20:52:50 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-02-17 20:52:50 +0100 |
commit | ed847ed93d86d0e1c0993adfee787e7fa02e604b (patch) | |
tree | fc85030e7109f3c1f8192bb417cba221f74342fe /hugolib/shortcode_test.go | |
parent | 10c13f5d79e467796088cd305c8c3cb0fa7c0ee0 (diff) |
hugolib: Test helper cleanup
Diffstat (limited to 'hugolib/shortcode_test.go')
-rw-r--r-- | hugolib/shortcode_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/shortcode_test.go b/hugolib/shortcode_test.go index 665e3a944..633eb775f 100644 --- a/hugolib/shortcode_test.go +++ b/hugolib/shortcode_test.go @@ -541,7 +541,7 @@ tags: writeSourcesToSource(t, "content", fs, sources...) s := buildSingleSite(t, deps.DepsCfg{WithTemplate: addTemplates, Fs: fs, Cfg: cfg}, BuildCfg{}) - th := testHelper{s.Cfg} + th := testHelper{s.Cfg, s.Fs, t} for _, test := range tests { if strings.HasSuffix(test.contentPath, ".ad") && !helpers.HasAsciidoc() { @@ -555,7 +555,7 @@ tags: continue } - th.assertFileContent(t, fs, test.outFile, true, test.expected) + th.assertFileContent(test.outFile, true, test.expected) } } |