1
0
mirror of https://github.com/golang/go synced 2024-09-30 16:28:32 -06:00

cmd/compile/internal/big: fix unused result from testing/quick.Check

Update #12834.

Change-Id: If7bbcc249517f2f2d8a7dcbba6411ede92331abe
Reviewed-on: https://go-review.googlesource.com/15381
Reviewed-by: Damian Gryski <dgryski@gmail.com>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Shenghou Ma 2015-10-03 21:54:15 -04:00 committed by Minux Ma
parent 40457745e5
commit 7c43975ace

View File

@ -698,7 +698,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{