do not use quickcheck for broadcast
This commit is contained in:
+6
-6
@@ -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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user