ソースを参照

More test case

V2Ray 10 年 前
コミット
0d06561b7e
1 ファイル変更1 行追加0 行削除
  1. 1 0
      proxy/socks/config/json/config_test.go

+ 1 - 0
proxy/socks/config/json/config_test.go

@@ -20,6 +20,7 @@ func TestAccountMapParsing(t *testing.T) {
 	assert.Bool(accountMap.HasAccount("a", "b")).IsTrue()
 	assert.Bool(accountMap.HasAccount("a", "c")).IsFalse()
 	assert.Bool(accountMap.HasAccount("c", "d")).IsTrue()
+	assert.Bool(accountMap.HasAccount("e", "d")).IsTrue()
 }
 
 func TestDefaultIPAddress(t *testing.T) {