diff options
Diffstat (limited to 'service/reload')
-rw-r--r-- | service/reload/watcher_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/service/reload/watcher_test.go b/service/reload/watcher_test.go index f5a5db01..391f6bb9 100644 --- a/service/reload/watcher_test.go +++ b/service/reload/watcher_test.go @@ -129,7 +129,6 @@ func Test_Get_FileEvent(t *testing.T) { panic("didn't handle event when write file2") } w.Stop() - return } }() }() @@ -224,7 +223,7 @@ func Test_FileExtensionFilter(t *testing.T) { } }() w.Stop() - return + runtime.Goexit() }() err = w.StartPolling(time.Second) |