oops, the other way around

This commit is contained in:
Daisuke Maki 2014-08-27 11:28:52 +09:00
parent 5f22bda676
commit ddec4d4901

View file

@ -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")
}
}