mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-12-02 15:16:47 +00:00
chore: skip kcptun test on windows go1.20
This commit is contained in:
1 parent
e5f05aa7a9
commit
5e8bd85f18
1 file changed
+4
@@ -5,6 +5,7 @@ import (
|
||||
"encoding/base64"
|
||||
"net"
|
||||
"net/netip"
|
||||
"runtime"
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
@@ -166,6 +167,9 @@ func TestInboundShadowSocks_ShadowTlsv3(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestInboundShadowSocks_KcpTun(t *testing.T) {
|
||||
if runtime.GOOS == "windows" && strings.HasPrefix(runtime.Version(), "go1.20") {
|
||||
t.Skip("skip kcptun test on windows go1.20")
|
||||
}
|
||||
inboundOptions := inbound.ShadowSocksOption{
|
||||
KcpTun: inbound.KcpTun{
|
||||
Enable: true,
|
||||
|
||||
Reference in new issue
Block a user