aboutsummaryrefslogtreecommitdiff
path: root/src/math/big/float_test.go
diff options
context:
space:
mode:
authorShenghou Ma <minux@golang.org>2015-05-13 20:28:05 -0400
committerMinux Ma <minux@golang.org>2015-05-14 05:34:40 +0000
commit85a15778005c8412005ef7366cf40b0a50ace5ba (patch)
treec515c3d96f45e995dc5546880f4cb48bd6d4e7c7 /src/math/big/float_test.go
parentb3fb0fdd3f7c35e020788acf6d12278590b416cb (diff)
downloadgo-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.go2
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)
}
}
}