mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-17 23:06:30 -05:00
assert meta is nil on error
This commit is contained in:
parent
badc77a7f7
commit
7f4296cd78
@ -139,4 +139,5 @@ func TestReaderWriter(t *testing.T) {
|
||||
|
||||
meta, err = metaReader.Read()
|
||||
assert.Error(err).IsNotNil()
|
||||
assert.Pointer(meta).IsNil()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user