mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-26 14:35:38 +08:00
17 lines
310 B
Go
17 lines
310 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
C "github.com/sagernet/sing-box/constant"
|
||
|
"github.com/sagernet/sing-box/option"
|
||
|
)
|
||
|
|
||
|
func TestV2RayHTTPUpgrade(t *testing.T) {
|
||
|
t.Run("self", func(t *testing.T) {
|
||
|
testV2RayTransportSelf(t, &option.V2RayTransportOptions{
|
||
|
Type: C.V2RayTransportTypeHTTPUpgrade,
|
||
|
})
|
||
|
})
|
||
|
}
|