Make sure to use similar_asserts in all tests

This commit is contained in:
Dirkjan Ochtman 2022-11-29 09:27:04 +01:00
parent 357fd50a9b
commit 89832babe9
6 changed files with 12 additions and 0 deletions

View File

@ -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)]

View File

@ -1,3 +1,5 @@
use similar_asserts::assert_eq;
use instant_xml::{from_str, to_string, FromXml, ToXml};
#[derive(Debug, Eq, FromXml, ToXml, PartialEq)]

View File

@ -1,3 +1,5 @@
use similar_asserts::assert_eq;
use instant_xml::{from_str, to_string, FromXml, ToXml};
#[derive(Debug, Eq, FromXml, PartialEq, ToXml)]

View File

@ -1,3 +1,5 @@
use similar_asserts::assert_eq;
use instant_xml::{from_str, to_string, FromXml, ToXml};
#[derive(Debug, Eq, FromXml, PartialEq, ToXml)]

View File

@ -1,5 +1,7 @@
use std::fmt;
use similar_asserts::assert_eq;
use instant_xml::{to_string, Error, Serializer, ToXml};
#[derive(ToXml)]

View File

@ -1,3 +1,5 @@
use similar_asserts::assert_eq;
use instant_xml::{from_str, to_string, FromXml, ToXml};
#[derive(Debug, Eq, FromXml, PartialEq, ToXml)]