diff --git a/instant-xml/Cargo.toml b/instant-xml/Cargo.toml index 9cd6f33..2c0974d 100644 --- a/instant-xml/Cargo.toml +++ b/instant-xml/Cargo.toml @@ -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" diff --git a/instant-xml/tests/all.rs b/instant-xml/tests/all.rs index 68e044a..37a82f8 100644 --- a/instant-xml/tests/all.rs +++ b/instant-xml/tests/all.rs @@ -1,5 +1,7 @@ use std::borrow::Cow; +use similar_asserts::assert_eq; + use instant_xml::{Error, FromXml, ToXml}; #[derive(Debug, Eq, PartialEq, ToXml)]