1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-10 09:50:43 +00:00

fix test break

This commit is contained in:
Darien Raymond 2018-11-15 16:32:38 +01:00
parent 10b4bbf7c6
commit 0fd7e9216a
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -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)
}