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 {
use super::*;
use std::str::FromStr;
#[test]
fn can_parse_jids() {
assert_eq!(Jid::from_str("a@b.c/d"), Ok(Jid::full("a", "b.c", "d")));