1
0
mirror of https://github.com/golang/go synced 2024-11-24 21:00:09 -07:00

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 18b39f20ef
commit ae6bfe3687

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)