Darien Raymond 9 lat temu
rodzic
commit
b44268d409

+ 1 - 1
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"

+ 1 - 1
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