Skip to content

Commit

Permalink
Change dial opts to make wasm tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
umgefahren committed Mar 7, 2024
1 parent d79bca3 commit 8df0183
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions wasm-tests/webtransport-tests/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ async fn connect_without_peer_id() {
.dial(
addr,
DialOpts {
role: Endpoint::Listener,
port_use: PortUse::New,
role: Endpoint::Dialer,
port_use: PortUse::Reuse,
},
)
.unwrap()
Expand Down Expand Up @@ -322,8 +322,8 @@ async fn error_on_unknown_certhash() {
.dial(
addr.clone(),
DialOpts {
role: Endpoint::Listener,
port_use: PortUse::New,
role: Endpoint::Dialer,
port_use: PortUse::Reuse,
},
)
.unwrap()
Expand All @@ -346,7 +346,7 @@ async fn new_connection_to_echo_server() -> Connection {
addr,
DialOpts {
role: Endpoint::Dialer,
port_use: PortUse::New,
port_use: PortUse::Reuse,
},
)
.unwrap()
Expand Down

0 comments on commit 8df0183

Please sign in to comment.