diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-07-16 10:10:41 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-07-16 10:39:35 +0100 |
| commit | 092b9606ff2b721d858a5c7b2b27a2f9942b4bc4 (patch) | |
| tree | 29022aee83ac0460098dfdbd4362ef75388c4ea7 /test_utils/src/relay.rs | |
| parent | 6e041a3626f04e591d5c22f71d3e4ab2b03bd7bb (diff) | |
chore: nix flake update
required running:
`cargo fix --allow-dirty --allow-staged`
`cargo clippy --fix --allow-dirty -- -D warnings`
to fix problems
and then manually fixing some too
Diffstat (limited to 'test_utils/src/relay.rs')
| -rw-r--r-- | test_utils/src/relay.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test_utils/src/relay.rs b/test_utils/src/relay.rs index e820651..14778d9 100644 --- a/test_utils/src/relay.rs +++ b/test_utils/src/relay.rs | |||
| @@ -186,7 +186,7 @@ impl<'a> Relay<'a> { | |||
| 186 | 186 | ||
| 187 | pub fn shutdown_relay(port: u64) -> Result<()> { | 187 | pub fn shutdown_relay(port: u64) -> Result<()> { |
| 188 | let mut counter = 0; | 188 | let mut counter = 0; |
| 189 | while let Ok((mut socket, _)) = tungstenite::connect(format!("ws://localhost:{}", port)) { | 189 | while let Ok((mut socket, _)) = tungstenite::connect(format!("ws://localhost:{port}")) { |
| 190 | counter += 1; | 190 | counter += 1; |
| 191 | if counter == 1 { | 191 | if counter == 1 { |
| 192 | socket.write(tungstenite::Message::text("shut me down"))?; | 192 | socket.write(tungstenite::Message::text("shut me down"))?; |