Use similar-asserts for test cases
This commit is contained in:
parent
29fb6d5a9e
commit
f69340f608
|
@ -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"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
use std::borrow::Cow;
|
||||
|
||||
use similar_asserts::assert_eq;
|
||||
|
||||
use instant_xml::{Error, FromXml, ToXml};
|
||||
|
||||
#[derive(Debug, Eq, PartialEq, ToXml)]
|
||||
|
|
Loading…
Reference in New Issue