Skip to content

Commit

Permalink
fix test break
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed Nov 15, 2018
1 parent 10b4bbf commit 0fd7e92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/buf/buffer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func TestBufferClear(t *testing.T) {

payload := "Bytes"
buffer.Write([]byte(payload))
if diff := cmp.Diff(buffer.Bytes(), payload); diff != "" {
if diff := cmp.Diff(buffer.Bytes(), []byte(payload)); diff != "" {
t.Error(diff)
}

Expand Down

0 comments on commit 0fd7e92

Please sign in to comment.