summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-19 17:06:11 +0300
committerValery Piashchynski <[email protected]>2020-12-19 17:06:11 +0300
commitbed3e3fea64a2ec18da9fb7dfb1b1701b853f83a (patch)
tree2035b3be5eaa82f2083e6bd8bee843a2da53128f
parent1e5bea6f98591bbde9b9791df476768f07e81766 (diff)
Mistake in assertion
-rw-r--r--service/reload/watcher_test.go2
1 files changed, 1 insertions, 1 deletions
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) {