From 31f9da9b05d53e15d6b6e317489e1aca90310b0c Mon Sep 17 00:00:00 2001 From: Nikita Vilunov Date: Mon, 29 Apr 2024 19:13:32 +0200 Subject: [PATCH] xmpp: fix incorrect auth test --- crates/projection-xmpp/tests/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/projection-xmpp/tests/lib.rs b/crates/projection-xmpp/tests/lib.rs index 8c05128..dd537a1 100644 --- a/crates/projection-xmpp/tests/lib.rs +++ b/crates/projection-xmpp/tests/lib.rs @@ -299,7 +299,7 @@ async fn scenario_wrong_password() -> Result<()> { assert_matches!(s.next_xml_event().await?, Event::Empty(b) => assert_eq!(b.local_name().into_inner(), b"not-authorized")); assert_matches!(s.next_xml_event().await?, Event::End(b) => assert_eq!(b.local_name().into_inner(), b"failure")); - stream.shutdown().await?; + let _ = stream.shutdown().await; // wrap up