mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-09-27 04:34:02 -04:00
fix test break
This commit is contained in:
@@ -36,7 +36,7 @@ func TestDomainParsing(t *testing.T) {
|
|||||||
assert.StringLiteral(address.Address.Domain()).Equals("v2ray.com")
|
assert.StringLiteral(address.Address.Domain()).Equals("v2ray.com")
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestInvalidJson(t *testing.T) {
|
func TestInvalidAddressJson(t *testing.T) {
|
||||||
v2testing.Current(t)
|
v2testing.Current(t)
|
||||||
|
|
||||||
rawJson := "1234"
|
rawJson := "1234"
|
||||||
|
@@ -31,7 +31,7 @@ func TestStringNetworkList(t *testing.T) {
|
|||||||
assert.Bool(list.HasNetwork(Network("udp"))).IsFalse()
|
assert.Bool(list.HasNetwork(Network("udp"))).IsFalse()
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestInvalidJson(t *testing.T) {
|
func TestInvalidNetworkJson(t *testing.T) {
|
||||||
v2testing.Current(t)
|
v2testing.Current(t)
|
||||||
|
|
||||||
var list NetworkList
|
var list NetworkList
|
||||||
|
Reference in New Issue
Block a user