From 45b573322ef5222b30a62da66c1d1c5c16c61c94 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Fri, 17 Dec 2010 13:47:52 -0800 Subject: [PATCH] tls: fix argument mistake in Error call. R=agl, agl1, rsc CC=golang-dev https://golang.org/cl/3753041 --- conn_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conn_test.go b/conn_test.go index ee654ca..f44a50b 100644 --- a/conn_test.go +++ b/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)