Browse Source

fix test break

pull/1435/head v4.4
Darien Raymond 6 years ago
parent
commit
0fd7e9216a
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
  1. 2
      common/buf/buffer_test.go

2
common/buf/buffer_test.go

@ -16,7 +16,7 @@ func TestBufferClear(t *testing.T) {
payload := "Bytes" payload := "Bytes"
buffer.Write([]byte(payload)) buffer.Write([]byte(payload))
if diff := cmp.Diff(buffer.Bytes(), payload); diff != "" { if diff := cmp.Diff(buffer.Bytes(), []byte(payload)); diff != "" {
t.Error(diff) t.Error(diff)
} }

Loading…
Cancel
Save