Commit ae6bfe36 authored by Rob Pike's avatar Rob Pike

tls: fix argument mistake in Error call.

R=agl, agl1, rsc
CC=golang-dev
https://golang.org/cl/3753041
parent 18b39f20
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment