From db8d151f157c9e06eba5547d71227620ced47154 Mon Sep 17 00:00:00 2001 From: Nikita Vilunov Date: Sun, 21 Apr 2024 19:51:46 +0200 Subject: [PATCH] call expect_cap_ls --- crates/projection-irc/tests/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/projection-irc/tests/lib.rs b/crates/projection-irc/tests/lib.rs index 363758c..5a4eb7c 100644 --- a/crates/projection-irc/tests/lib.rs +++ b/crates/projection-irc/tests/lib.rs @@ -582,7 +582,7 @@ async fn server_time_capability() -> Result<()> { s.send("CAP LS 302").await?; s.send("NICK tester").await?; s.send("USER UserName 0 * :Real Name").await?; - s.expect(":testserver CAP * LS :sasl=PLAIN server-time").await?; + s.expect_cap_ls().await?; s.send("CAP REQ :sasl server-time").await?; s.expect(":testserver CAP tester ACK :sasl server-time").await?; s.send("AUTHENTICATE PLAIN").await?;