summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/code.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/code.html b/doc/code.html
index 9072d0506..14bb6f9fe 100644
--- a/doc/code.html
+++ b/doc/code.html
@@ -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)
}
}
}