Skip to content

Commit

Permalink
refactor: fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcAntoine-Arnaud committed Nov 5, 2024
1 parent da7f503 commit 0439e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yaserde/tests/cdata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ fn test_cdata_serialization() {
fn test_cdata_deserialization() {
init();
let xml = r#"<?xml version="1.0" encoding="utf-8"?><teststruct><msgdata><![CDATA[<tag>Some unescaped content</tag>]]></msgdata></teststruct>"#;
let r: TestStruct = yaserde::de::from_str(&xml).unwrap();
let r: TestStruct = yaserde::de::from_str(xml).unwrap();
let expected_output = TestStruct {
msgdata: "<tag>Some unescaped content</tag>".to_string(),
};
Expand Down

0 comments on commit 0439e56

Please sign in to comment.