Fix failing test

This commit is contained in:
Mikhail 2024-05-04 17:58:17 +02:00
parent 77641a6971
commit e9dd5e06f1
2 changed files with 2 additions and 4 deletions

View File

@ -1,7 +1,5 @@
#![feature(coroutines, coroutine_trait, type_alias_impl_trait, impl_trait_in_assoc_type)] #![feature(coroutines, coroutine_trait, type_alias_impl_trait, impl_trait_in_assoc_type)]
extern crate core;
pub mod bind; pub mod bind;
pub mod client; pub mod client;
pub mod disco; pub mod disco;

View File

@ -203,7 +203,7 @@ mod tests {
#[test] #[test]
fn test_parse_archive_query() { fn test_parse_archive_query() {
let input = r#"<iq to='pubsub.shakespeare.lit' type='set' id='juliet1'><query xmlns='urn:xmpp:mam:2' queryid='f28'/></iq>"; let input = r#"<iq to='pubsub.shakespeare.lit' type='set' id='juliet1'><query xmlns='urn:xmpp:mam:2' queryid='f28'/></iq>"#;
let result: Iq<MessageArchiveRequest> = parse(input).unwrap(); let result: Iq<MessageArchiveRequest> = parse(input).unwrap();
assert_eq!( assert_eq!(