tls: fix argument mistake in Error call.

R=agl, agl1, rsc
CC=golang-dev
https://golang.org/cl/3753041
This commit is contained in:
Rob Pike 2010-12-17 13:47:52 -08:00
parent 9d188d7c03
commit 45b573322e

View File

@ -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)