fix tests on rust 1.14
This commit is contained in:
parent
6f64f9cd48
commit
a94c66cabc
1 changed files with 2 additions and 0 deletions
|
@ -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")));
|
||||
|
|
Loading…
Reference in a new issue