Commit 85a15778 authored by Shenghou Ma's avatar Shenghou Ma Committed by Minux Ma

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: 's avatarRobert Griesemer <gri@golang.org>
parent b3fb0fdd
......@@ -1656,7 +1656,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)
}
}
}
......
......@@ -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)
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment