Skip to content

Commit

Permalink
math/big, cmd/internal/gc/big: fix vet detected printf problem
Browse files Browse the repository at this point in the history
Change-Id: I54425d8cbe0277d7a0c9d66c37f2128a0dfa6441
Reviewed-on: https://go-review.googlesource.com/10041
Run-TryBot: Minux Ma <[email protected]>
Reviewed-by: Robert Griesemer <[email protected]>
  • Loading branch information
minux committed May 14, 2015
1 parent b3fb0fd commit 85a1577
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cmd/internal/gc/big/float_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/math/big/float_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
Expand Down

0 comments on commit 85a1577

Please sign in to comment.