summaryrefslogtreecommitdiff
path: root/service/reload
diff options
context:
space:
mode:
Diffstat (limited to 'service/reload')
-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) {