fix tests on rust 1.14

This commit is contained in:
lumi 2017-02-19 22:20:27 +01:00
parent 6f64f9cd48
commit a94c66cabc

View file

@ -150,6 +150,8 @@ impl Jid {
mod tests { mod tests {
use super::*; use super::*;
use std::str::FromStr;
#[test] #[test]
fn can_parse_jids() { fn can_parse_jids() {
assert_eq!(Jid::from_str("a@b.c/d"), Ok(Jid::full("a", "b.c", "d"))); assert_eq!(Jid::from_str("a@b.c/d"), Ok(Jid::full("a", "b.c", "d")));