From 7c12b706c73e7a745d2403ae6aa46036e7933027 Mon Sep 17 00:00:00 2001 From: kvii <56432636+kvii@users.noreply.github.com> Date: Sat, 10 Dec 2022 17:28:10 +0800 Subject: [PATCH] fix: unexpected typo (#2146) --- common/buf/multi_buffer_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/buf/multi_buffer_test.go b/common/buf/multi_buffer_test.go index 98f803195..6d835c828 100644 --- a/common/buf/multi_buffer_test.go +++ b/common/buf/multi_buffer_test.go @@ -108,7 +108,7 @@ func TestMultiBufferReadAllToByte(t *testing.T) { common.Must(err) if l := len(b); l != 8*1024 { - t.Error("unexpceted length from ReadAllToBytes", l) + t.Error("unexpected length from ReadAllToBytes", l) } } { @@ -141,7 +141,7 @@ func TestMultiBufferCopy(t *testing.T) { mb.Copy(lbdst) if d := cmp.Diff(lb, lbdst); d != "" { - t.Error("unexpceted different from MultiBufferCopy ", d) + t.Error("unexpected different from MultiBufferCopy ", d) } }