mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-02-27 01:07:10 +00:00
chore: hello mihomo
This commit is contained in:
@@ -5,14 +5,14 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/Dreamacro/clash/adapter/outbound"
|
||||
C "github.com/Dreamacro/clash/constant"
|
||||
"github.com/docker/docker/api/types/container"
|
||||
"github.com/metacubex/mihomo/adapter/outbound"
|
||||
C "github.com/metacubex/mihomo/constant"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
// TODO: fix udp test
|
||||
func TestClash_VlessTLS(t *testing.T) {
|
||||
func TestMihomo_VlessTLS(t *testing.T) {
|
||||
cfg := &container.Config{
|
||||
Image: ImageVmess,
|
||||
ExposedPorts: defaultExposedPorts,
|
||||
@@ -51,7 +51,7 @@ func TestClash_VlessTLS(t *testing.T) {
|
||||
}
|
||||
|
||||
// TODO: fix udp test
|
||||
func TestClash_VlessXTLS(t *testing.T) {
|
||||
func TestMihomo_VlessXTLS(t *testing.T) {
|
||||
cfg := &container.Config{
|
||||
Image: ImageXray,
|
||||
ExposedPorts: defaultExposedPorts,
|
||||
@@ -81,7 +81,6 @@ func TestClash_VlessXTLS(t *testing.T) {
|
||||
ServerName: "example.org",
|
||||
UDP: true,
|
||||
Flow: "xtls-rprx-direct",
|
||||
FlowShow: true,
|
||||
})
|
||||
if err != nil {
|
||||
assert.FailNow(t, err.Error())
|
||||
@@ -92,7 +91,7 @@ func TestClash_VlessXTLS(t *testing.T) {
|
||||
}
|
||||
|
||||
// TODO: fix udp test
|
||||
func TestClash_VlessWS(t *testing.T) {
|
||||
func TestMihomo_VlessWS(t *testing.T) {
|
||||
cfg := &container.Config{
|
||||
Image: ImageVmess,
|
||||
ExposedPorts: defaultExposedPorts,
|
||||
|
||||
Reference in New Issue
Block a user