fix: remove unnecessary content

This commit is contained in:
徐聪
2022-07-25 21:29:59 +08:00
parent 11c5a75442
commit c381062a8d
4 changed files with 14 additions and 28 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ func TestStopNotify(t *testing.T) {
close(r.doneChan)
}()
notifier := r.StopNotify()
notifier := r.stopNotify()
select {
case <-notifier:
t.Fatalf("received unexpected stop notification")