summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2010-06-01 16:50:16 +0200
committerAndrew Gerrand <adg@golang.org>2010-06-01 16:50:16 +0200
commit8c4c3f28f3430f49a2c3116f75d042560971ce64 (patch)
treed36707582a594c46b2bc99f01495146b02909e1c /doc
parentf0c283fdf5bec2039b8eefaa62cb237a417f8dbf (diff)
downloadgolang-8c4c3f28f3430f49a2c3116f75d042560971ce64.tar.gz
doc/code.html: fix error string format
R=rsc CC=golang-dev http://codereview.appspot.com/1444041
Diffstat (limited to 'doc')
-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)
}
}
}