From b44268d40975c3fc9404331fb5adefb7f1e22df5 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Thu, 4 Feb 2016 10:47:57 +0000 Subject: [PATCH] fix test break --- common/net/address_json_test.go | 2 +- common/net/network_json_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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