remove redundant test
This commit is contained in:
parent
56b4657518
commit
87d59181cb
1 changed files with 0 additions and 3 deletions
|
@ -404,9 +404,6 @@ mod tests {
|
||||||
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")));
|
||||||
assert_eq!(Jid::from_str("a@b.c"), Ok(Jid::bare("a", "b.c")));
|
assert_eq!(Jid::from_str("a@b.c"), Ok(Jid::bare("a", "b.c")));
|
||||||
assert_eq!(Jid::from_str("b.c"), Ok(Jid::domain("b.c")));
|
assert_eq!(Jid::from_str("b.c"), Ok(Jid::domain("b.c")));
|
||||||
|
|
||||||
assert_eq!(Jid::from_str(""), Err(JidParseError::NoDomain));
|
|
||||||
|
|
||||||
assert_eq!(Jid::from_str("a/b@c"), Ok(Jid::domain_with_resource("a", "b@c")));
|
assert_eq!(Jid::from_str("a/b@c"), Ok(Jid::domain_with_resource("a", "b@c")));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue