mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-04-04 04:45:29 -04:00
assert meta is nil on error
This commit is contained in:
@@ -139,4 +139,5 @@ func TestReaderWriter(t *testing.T) {
|
||||
|
||||
meta, err = metaReader.Read()
|
||||
assert.Error(err).IsNotNil()
|
||||
assert.Pointer(meta).IsNil()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user