diff --git a/src/jingle.rs b/src/jingle.rs index ca9858ae..fad59aa3 100644 --- a/src/jingle.rs +++ b/src/jingle.rs @@ -333,7 +333,7 @@ mod tests { let elem: Element = "".parse().unwrap(); let jingle = Jingle::try_from(elem).unwrap(); assert_eq!(jingle.action, Action::SessionInitiate); - assert_eq!(jingle.sid, "coucou"); + assert_eq!(jingle.sid, Sid(String::from("coucou"))); } #[test]