mirror of
https://github.com/golang/go
synced 2024-11-24 07:10:18 -07:00
doc/code.html: fix error string format
R=rsc CC=golang-dev https://golang.org/cl/1444041
This commit is contained in:
parent
2fa388e063
commit
ac1d4980db
@ -248,7 +248,7 @@ func TestDouble(t *testing.T) {
|
||||
for _, dt := range doubleTests {
|
||||
v := Double(dt.in)
|
||||
if v != dt.out {
|
||||
t.Errorf("Double(%d) returns %d; should be %d.", dt.in, v, dt.out)
|
||||
t.Errorf("Double(%d) = %d, want %d.", dt.in, v, dt.out)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user