Browse Source

test: clean up test loggers a bit (#4580)

Nick Santos 4 years ago
parent
commit
1f5bfe8882
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/watch/notify_test.go

+ 1 - 1
pkg/watch/notify_test.go

@@ -632,7 +632,7 @@ func (f *notifyFixture) rebuildWatcher() {
 	}
 
 	// create a new watcher
-	notify, err := NewWatcher(f.paths, f.ignore, logger.NewLogger(logger.DebugLvl, f.out))
+	notify, err := NewWatcher(f.paths, f.ignore, logger.NewTestLogger(f.out))
 	if err != nil {
 		f.T().Fatal(err)
 	}