1
0
mirror of https://github.com/golang/go synced 2024-11-18 10:04:43 -07:00

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>
This commit is contained in:
Shenghou Ma 2015-05-13 20:28:05 -04:00 committed by Minux Ma
parent b3fb0fdd3f
commit 85a1577800
2 changed files with 2 additions and 2 deletions

View File

@ -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)
}
}
}

View File

@ -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)
}
}
}