From: Shenghou Ma Date: Sun, 4 Oct 2015 01:54:15 +0000 (-0400) Subject: cmd/compile/internal/big: fix unused result from testing/quick.Check X-Git-Tag: go1.6beta1~892 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7c43975aceebcac6813696787d3b0fa19c83e74d;p=gostls13.git 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 Reviewed-by: David Crawshaw Reviewed-by: Ian Lance Taylor --- diff --git a/src/cmd/compile/internal/big/int_test.go b/src/cmd/compile/internal/big/int_test.go index 97874626f3..bf3b832980 100644 --- a/src/cmd/compile/internal/big/int_test.go +++ b/src/cmd/compile/internal/big/int_test.go @@ -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{