do not use quickcheck for broadcast

This commit is contained in:
Ola Holmström
2015-06-13 05:54:53 +02:00
parent a30f4203b6
commit b2be52994b
+6 -6
View File
@@ -207,8 +207,8 @@ func TestBroadcast(t *testing.T) {
return true return true
} }
if err := quick.Check(fn, nil); err != nil { if !fn("test") {
t.Error(err) t.Errorf("should not be false")
} }
} }
@@ -254,8 +254,8 @@ func TestBroadcastOthers(t *testing.T) {
return true return true
} }
if err := quick.Check(fn, nil); err != nil { if !fn("test") {
t.Error(err) t.Errorf("should not be false")
} }
} }
@@ -321,7 +321,7 @@ func TestBroadcastFilter(t *testing.T) {
return true return true
} }
if err := quick.Check(fn, nil); err != nil { if !fn("test") {
t.Error(err) t.Errorf("should not be false")
} }
} }