diff --git a/instant-xml/tests/chrono.rs b/instant-xml/tests/chrono.rs index 0ad6276..c1081e1 100644 --- a/instant-xml/tests/chrono.rs +++ b/instant-xml/tests/chrono.rs @@ -1,6 +1,8 @@ #![cfg(feature = "chrono")] use chrono::{DateTime, TimeZone, Utc}; +use similar_asserts::assert_eq; + use instant_xml::{from_str, to_string, FromXml, ToXml}; #[derive(Debug, Eq, PartialEq, FromXml, ToXml)] diff --git a/instant-xml/tests/generics.rs b/instant-xml/tests/generics.rs index b57c57d..8e123d9 100644 --- a/instant-xml/tests/generics.rs +++ b/instant-xml/tests/generics.rs @@ -1,3 +1,5 @@ +use similar_asserts::assert_eq; + use instant_xml::{from_str, to_string, FromXml, ToXml}; #[derive(Debug, Eq, FromXml, ToXml, PartialEq)] diff --git a/instant-xml/tests/unnamed.rs b/instant-xml/tests/unnamed.rs index 5eea8e0..b7a5ea4 100644 --- a/instant-xml/tests/unnamed.rs +++ b/instant-xml/tests/unnamed.rs @@ -1,3 +1,5 @@ +use similar_asserts::assert_eq; + use instant_xml::{from_str, to_string, FromXml, ToXml}; #[derive(Debug, Eq, FromXml, PartialEq, ToXml)] diff --git a/instant-xml/tests/vec.rs b/instant-xml/tests/vec.rs index 41d77a6..d097aa3 100644 --- a/instant-xml/tests/vec.rs +++ b/instant-xml/tests/vec.rs @@ -1,3 +1,5 @@ +use similar_asserts::assert_eq; + use instant_xml::{from_str, to_string, FromXml, ToXml}; #[derive(Debug, Eq, FromXml, PartialEq, ToXml)] diff --git a/instant-xml/tests/with.rs b/instant-xml/tests/with.rs index 6b3813b..f9efbf8 100644 --- a/instant-xml/tests/with.rs +++ b/instant-xml/tests/with.rs @@ -1,5 +1,7 @@ use std::fmt; +use similar_asserts::assert_eq; + use instant_xml::{to_string, Error, Serializer, ToXml}; #[derive(ToXml)] diff --git a/instant-xml/tests/wrapped-enum.rs b/instant-xml/tests/wrapped-enum.rs index a8d4412..0fbb39f 100644 --- a/instant-xml/tests/wrapped-enum.rs +++ b/instant-xml/tests/wrapped-enum.rs @@ -1,3 +1,5 @@ +use similar_asserts::assert_eq; + use instant_xml::{from_str, to_string, FromXml, ToXml}; #[derive(Debug, Eq, FromXml, PartialEq, ToXml)]