xmpp: fix incorrect auth test

This commit is contained in:
Nikita Vilunov 2024-04-29 19:13:32 +02:00
parent c1dc2df150
commit 31f9da9b05
1 changed files with 1 additions and 1 deletions

View File

@ -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