mirror of
https://github.com/golang/go
synced 2024-11-21 09:24:42 -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