mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-30 04:21:29 +00: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,
|
||
|
})
|
||
|
})
|
||
|
}
|