jingle: Fix sid test.
This commit is contained in:
parent
48d340120c
commit
e7f0c45da5
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ mod tests {
|
||||||
let elem: Element = "<jingle xmlns='urn:xmpp:jingle:1' action='session-initiate' sid='coucou'/>".parse().unwrap();
|
let elem: Element = "<jingle xmlns='urn:xmpp:jingle:1' action='session-initiate' sid='coucou'/>".parse().unwrap();
|
||||||
let jingle = Jingle::try_from(elem).unwrap();
|
let jingle = Jingle::try_from(elem).unwrap();
|
||||||
assert_eq!(jingle.action, Action::SessionInitiate);
|
assert_eq!(jingle.action, Action::SessionInitiate);
|
||||||
assert_eq!(jingle.sid, "coucou");
|
assert_eq!(jingle.sid, Sid(String::from("coucou")));
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Reference in a new issue