mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-27 20:45:28 -05:00
fix lint warnings
This commit is contained in:
@@ -37,7 +37,7 @@ func TestBufferString(t *testing.T) {
|
||||
buffer := New()
|
||||
defer buffer.Release()
|
||||
|
||||
buffer.AppendSupplier(serial.WriteString("Test String"))
|
||||
assert.Error(buffer.AppendSupplier(serial.WriteString("Test String"))).IsNil()
|
||||
assert.String(buffer.String()).Equals("Test String")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user