From: Andrew Gerrand Date: Tue, 1 Jun 2010 14:50:16 +0000 (+0200) Subject: doc/code.html: fix error string format X-Git-Tag: weekly.2010-06-09~53 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ac1d4980dbd58bb482c635d1bfed301ff5114f7a;p=gostls13.git doc/code.html: fix error string format R=rsc CC=golang-dev https://golang.org/cl/1444041 --- diff --git a/doc/code.html b/doc/code.html index 9072d0506b..14bb6f9fea 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) } } }