Browse Source

fix: unexpected typo (#2146)

kvii 2 years ago
parent
commit
7c12b706c7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      common/buf/multi_buffer_test.go

+ 2 - 2
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)
 	}
 }