]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/openpgp/packet: fix testing print (missing arg)
authorRob Pike <r@golang.org>
Fri, 18 Feb 2011 18:47:38 +0000 (10:47 -0800)
committerRob Pike <r@golang.org>
Fri, 18 Feb 2011 18:47:38 +0000 (10:47 -0800)
R=agl
CC=golang-dev
https://golang.org/cl/4173062

src/pkg/crypto/openpgp/packet/symmetrically_encrypted_test.go

index ee5a30d32129827624db3fc125ec6bb1ba2105ed..5543b20297a6f5ae11059d0c94f406cfebc46994 100644 (file)
@@ -54,7 +54,7 @@ func testMDCReader(t *testing.T) {
 
                err = mdcReader.Close()
                if err != nil {
-                       t.Errorf("stride: %d, error on Close: %s", err)
+                       t.Errorf("stride: %d, error on Close: %s", stride, err)
                }
        }