Commit ac1d4980 authored by Andrew Gerrand's avatar Andrew Gerrand

doc/code.html: fix error string format

R=rsc
CC=golang-dev
https://golang.org/cl/1444041
parent 2fa388e0
......@@ -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)
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment