From c05539cddb594cf33f1f0f5871d2964e9f813749 Mon Sep 17 00:00:00 2001 From: Philipp Date: Mon, 26 Nov 2018 14:41:07 +0000 Subject: [PATCH] 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 --- cryptobyte/cryptobyte_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cryptobyte/cryptobyte_test.go b/cryptobyte/cryptobyte_test.go index fe658ef..fb63709 100644 --- a/cryptobyte/cryptobyte_test.go +++ b/cryptobyte/cryptobyte_test.go @@ -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)) } }