v2ray_httpupgrade_test.go 310 B

12345678910111213141516
  1. package main
  2. import (
  3. "testing"
  4. C "github.com/sagernet/sing-box/constant"
  5. "github.com/sagernet/sing-box/option"
  6. )
  7. func TestV2RayHTTPUpgrade(t *testing.T) {
  8. t.Run("self", func(t *testing.T) {
  9. testV2RayTransportSelf(t, &option.V2RayTransportOptions{
  10. Type: C.V2RayTransportTypeHTTPUpgrade,
  11. })
  12. })
  13. }