Commit 2fd01642 authored by Damian Gryski's avatar Damian Gryski Committed by Brad Fitzpatrick

math/big: check return value from quick.Check() for GCD tests

Change-Id: I46c12aaaf453365c157604dfb1486605cfefd7af
Reviewed-on: https://go-review.googlesource.com/15263Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent 37cfb2e0
......@@ -695,7 +695,9 @@ func TestGcd(t *testing.T) {
testGcd(t, d, x, y, a, b)
}
quick.Check(checkGcd, nil)
if err := quick.Check(checkGcd, nil); err != nil {
t.Error(err)
}
}
var primes = []string{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment