Use similar-asserts for test cases

This commit is contained in:
Dirkjan Ochtman 2022-09-03 11:58:20 +02:00
parent 25089014fb
commit f6d7a51fff
2 changed files with 5 additions and 0 deletions

View File

@ -9,3 +9,6 @@ license = "Apache-2.0 OR MIT"
macros = { package = "instant-xml-macros", version = "0.1", path = "../instant-xml-macros" }
thiserror = "1.0.29"
xmlparser = "0.13.3"
[dev-dependencies]
similar-asserts = "1.4.2"

View File

@ -1,5 +1,7 @@
use std::borrow::Cow;
use similar_asserts::assert_eq;
use instant_xml::{Error, FromXml, ToXml};
#[derive(Debug, Eq, PartialEq, ToXml)]