From ddec4d490120caeecdefe9668e6c5f602f6d3009 Mon Sep 17 00:00:00 2001 From: Daisuke Maki Date: Wed, 27 Aug 2014 11:28:52 +0900 Subject: [PATCH] oops, the other way around --- hub_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hub_test.go b/hub_test.go index c862f43..a513477 100644 --- a/hub_test.go +++ b/hub_test.go @@ -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") } } \ No newline at end of file