Skip to content

Commit 33b3c2d

Browse files
authored
test: fix tls proto order
1 parent 5ac410a commit 33b3c2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

multiaddr_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func TestConstructSucceeds(t *testing.T) {
140140
"/udp/1234/udt",
141141
"/udp/1234/utp",
142142
"/tcp/1234/http",
143-
"/tcp/1234/http/tls",
143+
"/tcp/1234/tls/http",
144144
"/tcp/1234/https",
145145
"/ipfs/QmcgpsyWgH8Y8ajJz1Cu72KnS5uo2Aa2LpzU7kinSupNKC/tcp/1234",
146146
"/ipfs/k2k4r8oqamigqdo6o7hsbfwd45y70oyynp98usk7zmyfrzpqxh1pohl7/tcp/1234",
@@ -169,7 +169,7 @@ func TestConstructSucceeds(t *testing.T) {
169169
"/ip4/127.0.0.1/tcp/9090/http/p2p-webrtc-direct",
170170
"/ip4/127.0.0.1/tcp/127/ws",
171171
"/ip4/127.0.0.1/tcp/127/ws",
172-
"/ip4/127.0.0.1/tcp/127/ws/tls",
172+
"/ip4/127.0.0.1/tcp/127/tls/ws",
173173
"/ip4/127.0.0.1/tcp/127/wss",
174174
"/ip4/127.0.0.1/tcp/127/wss",
175175
}

0 commit comments

Comments
 (0)