mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-03-04 21:07:30 +00:00
chore: hello mihomo
This commit is contained in:
@@ -6,13 +6,13 @@ 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/require"
|
||||
)
|
||||
|
||||
func TestClash_Trojan(t *testing.T) {
|
||||
func TestMihomo_Trojan(t *testing.T) {
|
||||
cfg := &container.Config{
|
||||
Image: ImageTrojan,
|
||||
ExposedPorts: defaultExposedPorts,
|
||||
@@ -48,7 +48,7 @@ func TestClash_Trojan(t *testing.T) {
|
||||
testSuit(t, proxy)
|
||||
}
|
||||
|
||||
func TestClash_TrojanGrpc(t *testing.T) {
|
||||
func TestMihomo_TrojanGrpc(t *testing.T) {
|
||||
cfg := &container.Config{
|
||||
Image: ImageXray,
|
||||
ExposedPorts: defaultExposedPorts,
|
||||
@@ -87,7 +87,7 @@ func TestClash_TrojanGrpc(t *testing.T) {
|
||||
testSuit(t, proxy)
|
||||
}
|
||||
|
||||
func TestClash_TrojanWebsocket(t *testing.T) {
|
||||
func TestMihomo_TrojanWebsocket(t *testing.T) {
|
||||
cfg := &container.Config{
|
||||
Image: ImageTrojanGo,
|
||||
ExposedPorts: defaultExposedPorts,
|
||||
@@ -123,7 +123,7 @@ func TestClash_TrojanWebsocket(t *testing.T) {
|
||||
testSuit(t, proxy)
|
||||
}
|
||||
|
||||
func TestClash_TrojanXTLS(t *testing.T) {
|
||||
func TestMihomo_TrojanXTLS(t *testing.T) {
|
||||
cfg := &container.Config{
|
||||
Image: ImageXray,
|
||||
ExposedPorts: defaultExposedPorts,
|
||||
|
||||
Reference in New Issue
Block a user