diff --git a/yaserde/tests/deserializer.rs b/yaserde/tests/deserializer.rs index 6162d17..c470655 100644 --- a/yaserde/tests/deserializer.rs +++ b/yaserde/tests/deserializer.rs @@ -870,8 +870,7 @@ fn de_subitem_issue_12() { } convert_and_validate!( - r#" - + r#" 54 @@ -901,8 +900,7 @@ fn de_subitem_issue_12_with_sub() { } convert_and_validate!( - r#" - + r#" 54 @@ -929,8 +927,7 @@ fn de_subitem_issue_12_attributes() { } convert_and_validate!( - r#" - + r#" @@ -959,8 +956,7 @@ fn de_subitem_issue_12_attributes_with_sub() { } convert_and_validate!( - r#" - + r#" diff --git a/yaserde/tests/errors.rs b/yaserde/tests/errors.rs index ff781bc..4e1be36 100644 --- a/yaserde/tests/errors.rs +++ b/yaserde/tests/errors.rs @@ -41,6 +41,6 @@ fn de_wrong_end_balise() { let loaded: Result = from_str(content); assert_eq!( loaded, - Err("Unexpected closing tag: book, expected author".to_owned()) + Err("Unexpected closing tag: book != author".to_owned()) ); }