use stream instead of raw chan

This commit is contained in:
v2ray committed 2016-04-18 18:44:10 +02:00
1 parent 42b8dbe871
commit 7407c8d561
25 files changed
+217 -188

No files matched your search

+4 -4
View File
@@ -20,10 +20,10 @@ func TestBuildAndRun(t *testing.T) {
gopath := os.Getenv("GOPATH")
goOS := parseOS(runtime.GOOS)
goArch := parseArch(runtime.GOARCH)
target := filepath.Join(gopath, "src", "v2ray_test")
if goOS == Windows {
target += ".exe"
}
target := filepath.Join(gopath, "src", "v2ray_test")
if goOS == Windows {
target += ".exe"
}
err := buildV2Ray(target, "v1.0", goOS, goArch)
assert.Error(err).IsNil()