mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
tests: fix prints
- delete unnecessary newlines - make sure formatted prints call the formatting routines R=adg CC=golang-dev https://golang.org/cl/2225046
This commit is contained in:
parent
c10865ce53
commit
1959c3ac5b
26 changed files with 262 additions and 262 deletions
|
|
@ -64,7 +64,7 @@ func TestUintCodec(t *testing.T) {
|
|||
t.Error("DecodeUint:", u, decState.err)
|
||||
}
|
||||
if u != v {
|
||||
t.Errorf("Encode/Decode: sent %#x received %#x\n", u, v)
|
||||
t.Errorf("Encode/Decode: sent %#x received %#x", u, v)
|
||||
}
|
||||
if u&(1<<63) != 0 {
|
||||
break
|
||||
|
|
@ -87,7 +87,7 @@ func verifyInt(i int64, t *testing.T) {
|
|||
t.Error("DecodeInt:", i, decState.err)
|
||||
}
|
||||
if i != j {
|
||||
t.Errorf("Encode/Decode: sent %#x received %#x\n", uint64(i), uint64(j))
|
||||
t.Errorf("Encode/Decode: sent %#x received %#x", uint64(i), uint64(j))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue