diff --git a/common/net/address_json_test.go b/common/net/address_json_test.go index d665a00dc..03766d8ce 100644 --- a/common/net/address_json_test.go +++ b/common/net/address_json_test.go @@ -36,7 +36,7 @@ func TestDomainParsing(t *testing.T) { assert.StringLiteral(address.Address.Domain()).Equals("v2ray.com") } -func TestInvalidJson(t *testing.T) { +func TestInvalidAddressJson(t *testing.T) { v2testing.Current(t) rawJson := "1234" diff --git a/common/net/network_json_test.go b/common/net/network_json_test.go index 3181db018..e8f6b6cff 100644 --- a/common/net/network_json_test.go +++ b/common/net/network_json_test.go @@ -31,7 +31,7 @@ func TestStringNetworkList(t *testing.T) { assert.Bool(list.HasNetwork(Network("udp"))).IsFalse() } -func TestInvalidJson(t *testing.T) { +func TestInvalidNetworkJson(t *testing.T) { v2testing.Current(t) var list NetworkList