@@ -875,7 +875,7 @@ describe('Proxy text producers', function () {
875875 const output = produceExternal ( 'Loon' , proxy ) ;
876876
877877 expect ( output ) . to . equal (
878- 'URI Hysteria2=Hysteria2,hy2.example.com,443,"secret",server-ports="1000,2000-3000,5000",hop-interval=30,tls-name=hy2.example.com,skip-cert-verify=false,fast-open=false' ,
878+ 'URI Hysteria2=Hysteria2,hy2.example.com,443,"secret",server-ports="1000,2000-3000,5000",hop-interval=30,tls-name=hy2.example.com,skip-cert-verify=false,fast-open=false,udp=true ' ,
879879 ) ;
880880 } ) ;
881881
@@ -1385,8 +1385,8 @@ describe('Proxy text producers', function () {
13851385 const output = ProxyUtils . produce ( proxies , 'Surge' , 'external' ) ;
13861386
13871387 expect ( output . split ( '\n' ) ) . to . deep . equal ( [
1388- `Surge H2 Round Trip=h2-connect,h2.example.com,443,headers="X-Padding:"<random-string(16-32)>"",max-streams=1,sni="sni.example.com"` ,
1389- `Surge Trust Round Trip=trust-tunnel,trust.example.com,443,username="user",password="pass",headers="X-Client:"Surge"",max-streams=3,sni="sni.example.com"` ,
1388+ `Surge H2 Round Trip=h2-connect,h2.example.com,443,headers="X-Padding:"<random-string(16-32)>"",max-streams=1,sni="sni.example.com",udp-relay=true ` ,
1389+ `Surge Trust Round Trip=trust-tunnel,trust.example.com,443,username="user",password="pass",headers="X-Client:"Surge"",max-streams=3,sni="sni.example.com",udp-relay=true ` ,
13901390 ] ) ;
13911391 } ) ;
13921392
0 commit comments