compat mode that relaxes some of the check_* macros

This commit is contained in:
Astro 2018-12-30 00:36:29 +01:00
commit 95f4ade4ba
17 changed files with 70 additions and 31 deletions

View file

@ -245,6 +245,7 @@ mod tests {
assert_eq!(roster.items[0].subscription, Subscription::Remove);
}
#[cfg(not(feature = "compat"))]
#[test]
fn test_invalid() {
let elem: Element = "<query xmlns='jabber:iq:roster'><coucou/></query>"