diff options
author | Bjørn Erik Pedersen <[email protected]> | 2018-03-16 18:27:44 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2018-03-17 18:59:07 +0100 |
commit | debd3663dd0a4dacf7dff01e2e602e58a4fa8ee7 (patch) | |
tree | 15f2654ce0e8b4331bfcb5af07d387e35f93ae62 /hugolib/datafiles_test.go | |
parent | af67ad8af119b5eaf6d817dc43887ddf36182fbb (diff) | |
download | hugo-debd3663dd0a4dacf7dff01e2e602e58a4fa8ee7.tar.gz hugo-debd3663dd0a4dacf7dff01e2e602e58a4fa8ee7.zip |
hugolib: Test cleaning #1
Diffstat (limited to 'hugolib/datafiles_test.go')
-rw-r--r-- | hugolib/datafiles_test.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/hugolib/datafiles_test.go b/hugolib/datafiles_test.go index 6b66a51eb..cd1ad8411 100644 --- a/hugolib/datafiles_test.go +++ b/hugolib/datafiles_test.go @@ -19,12 +19,7 @@ import ( "strings" "testing" - "io/ioutil" - "log" - "os" - "github.com/gohugoio/hugo/deps" - jww "github.com/spf13/jwalterweatherman" "fmt" "runtime" @@ -327,7 +322,7 @@ func doTestDataDirImpl(t *testing.T, dd dataDir, expected interface{}, configKey } var ( - logger = jww.NewNotepad(jww.LevelWarn, jww.LevelWarn, os.Stdout, ioutil.Discard, t.Name(), log.Ldate|log.Ltime) + logger = newErrorLogger() depsCfg = deps.DepsCfg{Fs: fs, Cfg: cfg, Logger: logger} ) |