parsers: port data_forms to use derive macros
This commit is contained in:
parent
8e81c41f59
commit
134255d1de
10 changed files with 176 additions and 230 deletions
|
|
@ -227,7 +227,6 @@ mod tests {
|
|||
#[test]
|
||||
fn test_xep_ex2() {
|
||||
let elem: Element = r#"<x xmlns='jabber:x:data' type='form'>
|
||||
[ ... ]
|
||||
<field var='ocr'>
|
||||
<media xmlns='urn:xmpp:media-element'
|
||||
height='80'
|
||||
|
|
@ -236,7 +235,6 @@ mod tests {
|
|||
<uri type='image/jpeg'>cid:sha1+f24030b8d91d233bac14777be5ab531ca3b9f102@bob.xmpp.org</uri>
|
||||
</media>
|
||||
</field>
|
||||
[ ... ]
|
||||
</x>"#
|
||||
.parse()
|
||||
.unwrap();
|
||||
|
|
|
|||
Loading…
Reference in a new issue