From bed3e3fea64a2ec18da9fb7dfb1b1701b853f83a Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Sat, 19 Dec 2020 17:06:11 +0300 Subject: Mistake in assertion --- service/reload/watcher_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service/reload') diff --git a/service/reload/watcher_test.go b/service/reload/watcher_test.go index 89e9a6e4..c0b8da6b 100644 --- a/service/reload/watcher_test.go +++ b/service/reload/watcher_test.go @@ -329,7 +329,7 @@ func Test_Wrong_Dir(t *testing.T) { } _, err := NewWatcher([]WatcherConfig{wc}) - assert.NoError(t, err) + assert.Error(t, err) } func Test_Filter_Directory(t *testing.T) { -- cgit v1.2.3