Add ws compatibility test

This commit is contained in:
世界
2022-09-01 20:04:04 +08:00
parent ef801cbfbe
commit 4a0df713aa
17 changed files with 305 additions and 115 deletions

View File

@@ -20,9 +20,6 @@ func TestTrojanOutbound(t *testing.T) {
},
})
startInstance(t, option.Options{
Log: &option.LogOptions{
Level: "error",
},
Inbounds: []option.Inbound{
{
Type: C.TypeMixed,
@@ -58,9 +55,6 @@ func TestTrojanOutbound(t *testing.T) {
func TestTrojanSelf(t *testing.T) {
_, certPem, keyPem := createSelfSignedCertificate(t, "example.org")
startInstance(t, option.Options{
Log: &option.LogOptions{
Level: "error",
},
Inbounds: []option.Inbound{
{
Type: C.TypeMixed,