]> Cypherpunks repositories - gostls13.git/commitdiff
doc/code.html: fix error string format
authorAndrew Gerrand <adg@golang.org>
Tue, 1 Jun 2010 14:50:16 +0000 (16:50 +0200)
committerAndrew Gerrand <adg@golang.org>
Tue, 1 Jun 2010 14:50:16 +0000 (16:50 +0200)
R=rsc
CC=golang-dev
https://golang.org/cl/1444041

doc/code.html

index 9072d0506be4c076dff8420cab807ad48481a455..14bb6f9feac67b8f36f6062b6a9ee2aa8a7529e6 100644 (file)
@@ -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)
                }
        }
 }