From e9dd5e06f1df9e51729ac294451dca2c2041562a Mon Sep 17 00:00:00 2001 From: Mikhail Date: Sat, 4 May 2024 17:58:17 +0200 Subject: [PATCH] Fix failing test --- crates/proto-xmpp/src/lib.rs | 2 -- crates/proto-xmpp/src/mam.rs | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/crates/proto-xmpp/src/lib.rs b/crates/proto-xmpp/src/lib.rs index e17e371..71e8a94 100644 --- a/crates/proto-xmpp/src/lib.rs +++ b/crates/proto-xmpp/src/lib.rs @@ -1,7 +1,5 @@ #![feature(coroutines, coroutine_trait, type_alias_impl_trait, impl_trait_in_assoc_type)] -extern crate core; - pub mod bind; pub mod client; pub mod disco; diff --git a/crates/proto-xmpp/src/mam.rs b/crates/proto-xmpp/src/mam.rs index bd7ee21..41160d8 100644 --- a/crates/proto-xmpp/src/mam.rs +++ b/crates/proto-xmpp/src/mam.rs @@ -203,7 +203,7 @@ mod tests { #[test] fn test_parse_archive_query() { - let input = r#""; + let input = r#""#; let result: Iq = parse(input).unwrap(); assert_eq!( @@ -224,7 +224,7 @@ mod tests { #[test] fn test_parse_query_messages_from_jid() { - let input = r#"value1juliet@capulet.lit"#; + let input = r#"value1juliet@capulet.lit"#; let result: Iq = parse(input).unwrap(); assert_eq!(