mirror of
https://github.com/peco/peco.git
synced 2026-09-10 07:16:29 -04:00
oops, the other way around
This commit is contained in:
parent
5f22bda676
commit
ddec4d4901
|
|
@ -81,7 +81,7 @@ func TestHub(t *testing.T) {
|
|||
h.Stop()
|
||||
|
||||
_, ok := <-h.LoopCh()
|
||||
if !ok {
|
||||
if ok {
|
||||
t.Errorf("LoopCh should be closed, but it is not")
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue