diff --git a/melody_test.go b/melody_test.go index aa2e914..48c9727 100644 --- a/melody_test.go +++ b/melody_test.go @@ -207,8 +207,8 @@ func TestBroadcast(t *testing.T) { return true } - if err := quick.Check(fn, nil); err != nil { - t.Error(err) + if !fn("test") { + t.Errorf("should not be false") } } @@ -254,8 +254,8 @@ func TestBroadcastOthers(t *testing.T) { return true } - if err := quick.Check(fn, nil); err != nil { - t.Error(err) + if !fn("test") { + t.Errorf("should not be false") } } @@ -321,7 +321,7 @@ func TestBroadcastFilter(t *testing.T) { return true } - if err := quick.Check(fn, nil); err != nil { - t.Error(err) + if !fn("test") { + t.Errorf("should not be false") } }