fix: 规则匹配默认策略组返回错误

This commit is contained in:
Skyxim 2022-06-09 13:52:02 +08:00
parent 94648989b8
commit d32ab9ce74
2 changed files with 2 additions and 3 deletions

View file

@ -676,8 +676,7 @@ func benchmarkProxy(b *testing.B, proxy C.ProxyAdapter) {
}
}
// TODO: fix test
func _TestClash_Basic(t *testing.T) {
func TestClash_Basic(t *testing.T) {
basic := `
mixed-port: 10000
log-level: silent

View file

@ -433,5 +433,5 @@ func match(metadata *C.Metadata) (C.Proxy, C.Rule, error) {
}
}
return proxies["REJECT"], nil, nil
return proxies["DIRECT"], nil, nil
}