mirror of https://github.com/v2ray/v2ray-core
fix test break
parent
3cb60fac90
commit
64179350e6
|
@ -23,6 +23,6 @@ func TestGetOriginalDestination(t *testing.T) {
|
|||
assert.Error(err).IsNil()
|
||||
defer conn.Close()
|
||||
|
||||
_, err := GetOriginalDestination(conn)
|
||||
_, err = GetOriginalDestination(conn)
|
||||
assert.String(err.Error()).Contains("failed to call getsockopt")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue