mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 01:12:24 +00:00
xml serialize_to_string: Enable indentation
This commit is contained in:
@@ -22,6 +22,11 @@ fn test_struct_value_tagged() {
|
||||
.unwrap();
|
||||
assert_eq!(
|
||||
out,
|
||||
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<propfind><prop><test>asd</test></prop></propfind>"
|
||||
r#"<?xml version="1.0" encoding="utf-8"?>
|
||||
<propfind>
|
||||
<prop>
|
||||
<test>asd</test>
|
||||
</prop>
|
||||
</propfind>"#
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user