diff --git a/xmpp-parsers/src/blocking.rs b/xmpp-parsers/src/blocking.rs
index 8e2d8a69..246a715c 100644
--- a/xmpp-parsers/src/blocking.rs
+++ b/xmpp-parsers/src/blocking.rs
@@ -126,15 +126,15 @@ mod tests {
let result_elem = elem.clone();
let result = BlocklistResult::try_from(result_elem).unwrap();
- assert_eq!(result.items, vec!());
+ assert!(result.items.is_empty());
let elem: Element = "".parse().unwrap();
let block = Block::try_from(elem).unwrap();
- assert_eq!(block.items, vec!());
+ assert!(block.items.is_empty());
let elem: Element = "".parse().unwrap();
let unblock = Unblock::try_from(elem).unwrap();
- assert_eq!(unblock.items, vec!());
+ assert!(unblock.items.is_empty());
}
#[test]