mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +00:00
update file paths
This commit is contained in:
@@ -18,7 +18,7 @@ func TestClientSampleConfig(t *testing.T) {
|
||||
assert := assert.On(t)
|
||||
|
||||
GOPATH := os.Getenv("GOPATH")
|
||||
baseDir := filepath.Join(GOPATH, "src", "github.com", "v2ray", "v2ray-core", "tools", "release", "config")
|
||||
baseDir := filepath.Join(GOPATH, "src", "v2ray.com", "core", "tools", "release", "config")
|
||||
|
||||
pointConfig, err := LoadConfig(filepath.Join(baseDir, "vpoint_socks_vmess.json"))
|
||||
assert.Error(err).IsNil()
|
||||
@@ -38,7 +38,7 @@ func TestServerSampleConfig(t *testing.T) {
|
||||
assert := assert.On(t)
|
||||
|
||||
GOPATH := os.Getenv("GOPATH")
|
||||
baseDir := filepath.Join(GOPATH, "src", "github.com", "v2ray", "v2ray-core", "tools", "release", "config")
|
||||
baseDir := filepath.Join(GOPATH, "src", "v2ray.com", "core", "tools", "release", "config")
|
||||
|
||||
pointConfig, err := LoadConfig(filepath.Join(baseDir, "vpoint_vmess_freedom.json"))
|
||||
assert.Error(err).IsNil()
|
||||
|
||||
Reference in New Issue
Block a user