Fix some test conditions

This commit is contained in:
tbunyk 2019-03-15 13:19:10 +02:00
parent d8e3add56f
commit 470f2e08fc
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ func TestDifferentLevelsGoToDifferentWriters(t *testing.T) {
log.SetFormatter(&log.TextFormatter{
DisableTimestamp: true,
DisableColors: true,
})
log.SetOutput(ioutil.Discard) // Send all logs to nowhere by default