From: Rob Pike Date: Fri, 17 Dec 2010 21:47:52 +0000 (-0800) Subject: tls: fix argument mistake in Error call. X-Git-Tag: weekly.2010-12-22~8 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ae6bfe3687521c2761285a71232c7ee63dd25cf7;p=gostls13.git tls: fix argument mistake in Error call. R=agl, agl1, rsc CC=golang-dev https://golang.org/cl/3753041 --- diff --git a/src/pkg/crypto/tls/conn_test.go b/src/pkg/crypto/tls/conn_test.go index ee654ca888..f44a50bedd 100644 --- a/src/pkg/crypto/tls/conn_test.go +++ b/src/pkg/crypto/tls/conn_test.go @@ -43,7 +43,7 @@ func TestRemovePadding(t *testing.T) { expectedGood = 0 } if good != expectedGood { - t.Errorf("#%d: wrong validity, want:%d got:%d", expectedGood, good) + t.Errorf("#%d: wrong validity, want:%d got:%d", i, expectedGood, good) } if good == 255 && len(payload) != test.expectedLen { t.Errorf("#%d: got %d, want %d", i, len(payload), test.expectedLen)