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?;