Skip to content

Commit

Permalink
cmd/compile/internal/big: fix unused result from testing/quick.Check
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
minux committed Oct 6, 2015
1 parent 4045774 commit 7c43975
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cmd/compile/internal/big/int_test.go
Expand Up @@ -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{
Expand Down

0 comments on commit 7c43975

Please sign in to comment.