1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-24 08:25:23 +00:00

fix test break

This commit is contained in:
Darien Raymond 2016-02-04 10:47:57 +00:00
parent c74bcc9c50
commit b44268d409
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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