mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 23:47:07 -05:00
fix test break
This commit is contained in:
parent
10b4bbf7c6
commit
0fd7e9216a
@ -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…
Reference in New Issue
Block a user