Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomrsantos committed Apr 6, 2023
1 parent a2a7c13 commit 88f9cff
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/testnameresolve.nim
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ suite "Name resolving":
test "getHostname":
check:
MultiAddress.init("/dnsaddr/bootstrap.libp2p.io/").tryGet().getHostname == "bootstrap.libp2p.io"
MultiAddress.init("").tryGet().getHostname == ""
MultiAddress.init("/ip4/147.75.69.143/tcp/4001/p2p/QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN").tryGet().getHostname == "147.75.69.143"
MultiAddress.init("/ip6/2604:1380:1000:6000::1/tcp/4001/p2p/QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN").tryGet().getHostname == "2604:1380:1000:6000::1"
MultiAddress.init("/dns/localhost/udp/0").tryGet().getHostname == "localhost"
Expand Down

0 comments on commit 88f9cff

Please sign in to comment.