]> Cypherpunks repositories - gostls13.git/commitdiff
math/big: flip long/short flag on TestFloat32Distribution
authorCherry Zhang <cherryyz@google.com>
Thu, 27 Oct 2016 20:42:42 +0000 (16:42 -0400)
committerCherry Zhang <cherryyz@google.com>
Thu, 27 Oct 2016 21:44:37 +0000 (21:44 +0000)
It looks like a typo in CL 30707.

Change-Id: Ia2d013567dbd1a49901d9be0cd2d5a103e6e38cf
Reviewed-on: https://go-review.googlesource.com/32187
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/math/big/rat_test.go

index e16ee5ef20edb563559f716ed7bd5eb9f392b8a8..afda68658f7c17e36c3357c57d8673429d686cf0 100644 (file)
@@ -383,7 +383,7 @@ func TestFloat32Distribution(t *testing.T) {
                11,
        }
        var winc, einc = uint64(5), 15 // quick test (~60ms on x86-64)
-       if testing.Short() {
+       if *long {
                winc, einc = uint64(1), 1 // soak test (~1.5s on x86-64)
        }