浏览代码

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

Nick Santos 4 年之前
父节点
当前提交
1f5bfe8882
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)
 	}