summaryrefslogtreecommitdiff
path: root/service/reload
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-02-28 10:10:37 +0300
committerValery Piashchynski <[email protected]>2020-02-28 10:10:37 +0300
commit07493d20c66fe883349828602eceb33efa12aa9c (patch)
tree2abda06f97b541fa3e0fea13274304cb3e84beb0 /service/reload
parentc664a752e17d148db31e05317dd8f4cdb069281c (diff)
Fix linter errors
Diffstat (limited to 'service/reload')
-rw-r--r--service/reload/watcher_test.go3
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)