mirror of
https://github.com/golang/go
synced 2024-11-22 03:34:40 -07:00
cmath test: fix format (%g does not print booleans)
R=ken CC=golang-dev https://golang.org/cl/4003041
This commit is contained in:
parent
2a74009675
commit
b814cca3c3
@ -615,7 +615,7 @@ func TestExp(t *testing.T) {
|
||||
func TestIsNaN(t *testing.T) {
|
||||
for i := 0; i < len(vcIsNaNSC); i++ {
|
||||
if f := IsNaN(vcIsNaNSC[i]); isNaNSC[i] != f {
|
||||
t.Errorf("IsNaN(%g) = %g, want %g", vcIsNaNSC[i], f, isNaNSC[i])
|
||||
t.Errorf("IsNaN(%v) = %v, want %v", vcIsNaNSC[i], f, isNaNSC[i])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user