From ac1d4980dbd58bb482c635d1bfed301ff5114f7a Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Tue, 1 Jun 2010 16:50:16 +0200 Subject: [PATCH] doc/code.html: fix error string format R=rsc CC=golang-dev https://golang.org/cl/1444041 --- doc/code.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/code.html b/doc/code.html index 9072d0506be..14bb6f9feac 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) } } }