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:
parent
18b39f20ef
commit
ae6bfe3687
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user