mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-13 22:45:13 +00:00
fix test break
This commit is contained in:
2 files changed
+6
-7
No files matched your search
@@ -5,7 +5,6 @@ import (
|
||||
"testing"
|
||||
|
||||
"v2ray.com/core/common/protocol"
|
||||
"v2ray.com/core/proxy/vmess"
|
||||
"v2ray.com/core/proxy/vmess/outbound"
|
||||
"v2ray.com/core/testing/assert"
|
||||
. "v2ray.com/core/tools/conf"
|
||||
@@ -40,6 +39,6 @@ func TestConfigTargetParsing(t *testing.T) {
|
||||
|
||||
config := iConfig.(*outbound.Config)
|
||||
specPB := config.Receiver[0]
|
||||
spec := protocol.NewServerSpecFromPB(vmess.NewAccount, *specPB)
|
||||
spec := protocol.NewServerSpecFromPB(*specPB)
|
||||
assert.Destination(spec.Destination()).EqualsString("tcp:127.0.0.1:80")
|
||||
}
|
||||
Reference in new issue
Block a user