cryptobyte: fix typo in test

Change-Id: I03178eca962c29ad03fd9b2fb57ad35c53c99860
GitHub-Last-Rev: 21a7a751920a5d3e650d1f91d17177f33e477ff1
GitHub-Pull-Request: golang/crypto#66
Reviewed-on: https://go-review.googlesource.com/c/151277
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Philipp
2018-11-26 14:41:56 +00:00
committed by Brad Fitzpatrick
parent 9eb0be3963
commit c05539cddb
+1 -1
View File
@@ -421,7 +421,7 @@ func TestFixedBuilderLengthPrefixed(t *testing.T) {
b.AddBytes(inner)
})
if got := b.BytesOrPanic(); len(got) != bufCap {
t.Errorf("Expected output lenght to be %d, got %d", bufCap, len(got))
t.Errorf("Expected output length to be %d, got %d", bufCap, len(got))
}
}