Bump rxml to 0.13.1
rxml 0.13.0 changed the quoting style to make it consistent, so we have to patch up all affected places where we match exact strings.
This commit is contained in:
parent
477af3c895
commit
70d635b0fb
8 changed files with 11 additions and 8 deletions
|
|
@ -16,7 +16,7 @@ use alloc::format;
|
|||
use alloc::string::String;
|
||||
use alloc::vec::Vec;
|
||||
|
||||
const TEST_STRING: &'static [u8] = br#"<root xmlns='root_ns' a="b" xml:lang="en">meow<child c="d"/><child xmlns='child_ns' d="e" xml:lang="fr"/>nya</root>"#;
|
||||
const TEST_STRING: &'static [u8] = br#"<root xmlns='root_ns' a='b' xml:lang='en'>meow<child c='d'/><child xmlns='child_ns' d='e' xml:lang='fr'/>nya</root>"#;
|
||||
|
||||
fn build_test_tree() -> Element {
|
||||
let mut root = Element::builder("root", "root_ns")
|
||||
|
|
@ -251,7 +251,7 @@ fn writer_escapes_attributes() {
|
|||
}
|
||||
assert_eq!(
|
||||
String::from_utf8(writer).unwrap(),
|
||||
r#"<root xmlns='ns1' a=""Air" quotes"/>"#
|
||||
r#"<root xmlns='ns1' a='"Air" quotes'/>"#
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue