mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +00:00
fix test break
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user