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

doc/code.html: fix error string format

R=rsc
CC=golang-dev
https://golang.org/cl/1444041
This commit is contained in:
Andrew Gerrand 2010-06-01 16:50:16 +02:00
parent 2fa388e063
commit ac1d4980db

View File

@ -248,7 +248,7 @@ func TestDouble(t *testing.T) {
for _, dt := range doubleTests { for _, dt := range doubleTests {
v := Double(dt.in) v := Double(dt.in)
if v != dt.out { 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)
} }
} }
} }