From 7960b97c8e242dc1429d299357511f45bc22fd29 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Wed, 2 Dec 2015 15:26:11 +0000 Subject: [PATCH] fix test break --- proxy/common/config/json/config_cache_test.go | 1 + proxy/socks/config/json/config_test.go | 1 + proxy/socks/protocol/udp_test.go | 1 + proxy/vmess/config/id_test.go | 1 + proxy/vmess/protocol/user/rand_test.go | 1 + tools/build/build_test.go | 1 + tools/build/env_test.go | 1 + tools/build/go_test.go | 1 + tools/git/git_test.go | 1 + 9 files changed, 9 insertions(+) diff --git a/proxy/common/config/json/config_cache_test.go b/proxy/common/config/json/config_cache_test.go index 361e06f70..2d911253e 100644 --- a/proxy/common/config/json/config_cache_test.go +++ b/proxy/common/config/json/config_cache_test.go @@ -4,6 +4,7 @@ import ( "testing" "github.com/v2ray/v2ray-core/proxy/common/config" + v2testing "github.com/v2ray/v2ray-core/testing" "github.com/v2ray/v2ray-core/testing/assert" ) diff --git a/proxy/socks/config/json/config_test.go b/proxy/socks/config/json/config_test.go index 8229de9aa..75be4d60b 100644 --- a/proxy/socks/config/json/config_test.go +++ b/proxy/socks/config/json/config_test.go @@ -7,6 +7,7 @@ import ( "github.com/v2ray/v2ray-core/proxy/common/config" jsonconfig "github.com/v2ray/v2ray-core/proxy/common/config/json" + v2testing "github.com/v2ray/v2ray-core/testing" "github.com/v2ray/v2ray-core/testing/assert" ) diff --git a/proxy/socks/protocol/udp_test.go b/proxy/socks/protocol/udp_test.go index fa3828ee8..cda330577 100644 --- a/proxy/socks/protocol/udp_test.go +++ b/proxy/socks/protocol/udp_test.go @@ -3,6 +3,7 @@ package protocol import ( "testing" + v2testing "github.com/v2ray/v2ray-core/testing" "github.com/v2ray/v2ray-core/testing/assert" "github.com/v2ray/v2ray-core/transport" ) diff --git a/proxy/vmess/config/id_test.go b/proxy/vmess/config/id_test.go index c574a6dde..f99e02770 100644 --- a/proxy/vmess/config/id_test.go +++ b/proxy/vmess/config/id_test.go @@ -3,6 +3,7 @@ package config import ( "testing" + v2testing "github.com/v2ray/v2ray-core/testing" "github.com/v2ray/v2ray-core/testing/assert" ) diff --git a/proxy/vmess/protocol/user/rand_test.go b/proxy/vmess/protocol/user/rand_test.go index fcbdb8dad..a01b941fb 100644 --- a/proxy/vmess/protocol/user/rand_test.go +++ b/proxy/vmess/protocol/user/rand_test.go @@ -4,6 +4,7 @@ import ( "testing" "time" + v2testing "github.com/v2ray/v2ray-core/testing" "github.com/v2ray/v2ray-core/testing/assert" ) diff --git a/tools/build/build_test.go b/tools/build/build_test.go index 1bbec1aad..aa6ffa640 100644 --- a/tools/build/build_test.go +++ b/tools/build/build_test.go @@ -6,6 +6,7 @@ import ( "path/filepath" "testing" + v2testing "github.com/v2ray/v2ray-core/testing" "github.com/v2ray/v2ray-core/testing/assert" ) diff --git a/tools/build/env_test.go b/tools/build/env_test.go index 53acdb2ac..116cc69d7 100644 --- a/tools/build/env_test.go +++ b/tools/build/env_test.go @@ -3,6 +3,7 @@ package main import ( "testing" + v2testing "github.com/v2ray/v2ray-core/testing" "github.com/v2ray/v2ray-core/testing/assert" ) diff --git a/tools/build/go_test.go b/tools/build/go_test.go index 7f9b5a66f..566563038 100644 --- a/tools/build/go_test.go +++ b/tools/build/go_test.go @@ -11,6 +11,7 @@ import ( "testing" "time" + v2testing "github.com/v2ray/v2ray-core/testing" "github.com/v2ray/v2ray-core/testing/assert" ) diff --git a/tools/git/git_test.go b/tools/git/git_test.go index e2b5dae92..31e3cd388 100644 --- a/tools/git/git_test.go +++ b/tools/git/git_test.go @@ -3,6 +3,7 @@ package git import ( "testing" + v2testing "github.com/v2ray/v2ray-core/testing" "github.com/v2ray/v2ray-core/testing/assert" )