@@ -75,6 +75,7 @@ func TestConstructFails(t *testing.T) {
75
75
"/ip4/127.0.0.1/tcp" ,
76
76
"/ip4/127.0.0.1/quic/1234" ,
77
77
"/ip4/127.0.0.1/udp/1234/quic/webtransport/certhash" ,
78
+ "/ip4/127.0.0.1/udp/1234/quic/webtransport/certhash/b2uaraocy6yrdblb4sfptaddgimjmmp" , // 1 character missing from certhash
78
79
"/ip4/127.0.0.1/ipfs" ,
79
80
"/ip4/127.0.0.1/ipfs/tcp" ,
80
81
"/ip4/127.0.0.1/p2p" ,
@@ -159,8 +160,8 @@ func TestConstructSucceeds(t *testing.T) {
159
160
"/ip4/127.0.0.1/tcp/1234/" ,
160
161
"/ip4/127.0.0.1/udp/1234/quic" ,
161
162
"/ip4/127.0.0.1/udp/1234/quic/webtransport" ,
162
- "/ip4/127.0.0.1/udp/1234/quic/webtransport/certhash/zt1Zv2yaZ " ,
163
- "/ip4/127.0.0.1/udp/1234/quic/webtransport/certhash/zt1Zv2yaZ /certhash/zt1Zv2yaY " ,
163
+ "/ip4/127.0.0.1/udp/1234/quic/webtransport/certhash/b2uaraocy6yrdblb4sfptaddgimjmmpy " ,
164
+ "/ip4/127.0.0.1/udp/1234/quic/webtransport/certhash/b2uaraocy6yrdblb4sfptaddgimjmmpy /certhash/zQmbWTwYGcmdyK9CYfNBcfs9nhZs17a6FQ4Y8oea278xx41 " ,
164
165
"/ip4/127.0.0.1/ipfs/QmcgpsyWgH8Y8ajJz1Cu72KnS5uo2Aa2LpzU7kinSupNKC" ,
165
166
"/ip4/127.0.0.1/ipfs/QmcgpsyWgH8Y8ajJz1Cu72KnS5uo2Aa2LpzU7kinSupNKC/tcp/1234" ,
166
167
"/ip4/127.0.0.1/ipfs/k2k4r8oqamigqdo6o7hsbfwd45y70oyynp98usk7zmyfrzpqxh1pohl7" ,
@@ -546,8 +547,7 @@ func TestRoundTrip(t *testing.T) {
546
547
"/ip4/127.0.0.1/tcp/123/tls" ,
547
548
"/ip4/127.0.0.1/udp/123" ,
548
549
"/ip4/127.0.0.1/udp/123/ip6/::" ,
549
- "/ip4/127.0.0.1/udp/1234/quic/webtransport/certhash/zt1Zv2yaZ" ,
550
- "/ip4/127.0.0.1/udp/1234/quic/webtransport/certhash/zt1Zv2yaZ/certhash/zt1Zv2yaY" ,
550
+ "/ip4/127.0.0.1/udp/1234/quic/webtransport/certhash/zQmbWTwYGcmdyK9CYfNBcfs9nhZs17a6FQ4Y8oea278xx41" ,
551
551
"/p2p/QmbHVEEepCi7rn7VL7Exxpd2Ci9NNB6ifvqwhsrbRMgQFP" ,
552
552
"/p2p/QmbHVEEepCi7rn7VL7Exxpd2Ci9NNB6ifvqwhsrbRMgQFP/unix/a/b/c" ,
553
553
} {
0 commit comments