diff options
| author | Shenghou Ma <minux@golang.org> | 2015-05-13 20:28:05 -0400 |
|---|---|---|
| committer | Minux Ma <minux@golang.org> | 2015-05-14 05:34:40 +0000 |
| commit | 85a15778005c8412005ef7366cf40b0a50ace5ba (patch) | |
| tree | c515c3d96f45e995dc5546880f4cb48bd6d4e7c7 /src/math/big/float_test.go | |
| parent | b3fb0fdd3f7c35e020788acf6d12278590b416cb (diff) | |
| download | go-85a15778005c8412005ef7366cf40b0a50ace5ba.tar.xz | |
math/big, cmd/internal/gc/big: fix vet detected printf problem
Change-Id: I54425d8cbe0277d7a0c9d66c37f2128a0dfa6441
Reviewed-on: https://go-review.googlesource.com/10041
Run-TryBot: Minux Ma <minux@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/math/big/float_test.go')
| -rw-r--r-- | src/math/big/float_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/big/float_test.go b/src/math/big/float_test.go index 5b5a0247b1..5d241a503b 100644 --- a/src/math/big/float_test.go +++ b/src/math/big/float_test.go @@ -1659,7 +1659,7 @@ func TestFloatCmpSpecialValues(t *testing.T) { want = +1 } if got != want { - t.Errorf("(%g).Cmp(%g) = %s; want %s", x, y, got, want) + t.Errorf("(%g).Cmp(%g) = %v; want %v", x, y, got, want) } } } |
