diff options
author | Andrew Gerrand <adg@golang.org> | 2010-06-01 16:50:16 +0200 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2010-06-01 16:50:16 +0200 |
commit | 9ae32b03a2308294c4dbdc5893b4b6dc97395e2f (patch) | |
tree | d36707582a594c46b2bc99f01495146b02909e1c /doc/code.html | |
parent | 5595564b4b3b3c937458411ba03787192f60f033 (diff) | |
download | go-9ae32b03a2308294c4dbdc5893b4b6dc97395e2f.tar.gz |
doc/code.html: fix error string format
R=rsc
CC=golang-dev
http://codereview.appspot.com/1444041
Diffstat (limited to 'doc/code.html')
-rw-r--r-- | doc/code.html | 2 |
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) } } } |