aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/datafiles_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2018-03-16 18:27:44 +0100
committerBjørn Erik Pedersen <[email protected]>2018-03-17 18:59:07 +0100
commitdebd3663dd0a4dacf7dff01e2e602e58a4fa8ee7 (patch)
tree15f2654ce0e8b4331bfcb5af07d387e35f93ae62 /hugolib/datafiles_test.go
parentaf67ad8af119b5eaf6d817dc43887ddf36182fbb (diff)
downloadhugo-debd3663dd0a4dacf7dff01e2e602e58a4fa8ee7.tar.gz
hugo-debd3663dd0a4dacf7dff01e2e602e58a4fa8ee7.zip
hugolib: Test cleaning #1
Diffstat (limited to 'hugolib/datafiles_test.go')
-rw-r--r--hugolib/datafiles_test.go7
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}
)