chore: remove redundant `Eq` derives in forward-enum tests
This commit is contained in:
parent
a575fc627a
commit
1bae618b51
|
@ -4,19 +4,19 @@ use similar_asserts::assert_eq;
|
|||
|
||||
use instant_xml::{from_str, to_string, FromXml, ToXml};
|
||||
|
||||
#[derive(Debug, Eq, FromXml, PartialEq, ToXml)]
|
||||
#[derive(Debug, FromXml, PartialEq, ToXml)]
|
||||
#[xml(forward)]
|
||||
enum Foo {
|
||||
Bar(Bar),
|
||||
Baz(Baz),
|
||||
}
|
||||
|
||||
#[derive(Debug, Eq, FromXml, PartialEq, ToXml)]
|
||||
#[derive(Debug, FromXml, PartialEq, ToXml)]
|
||||
struct Bar {
|
||||
bar: u8,
|
||||
}
|
||||
|
||||
#[derive(Debug, Eq, FromXml, PartialEq, ToXml)]
|
||||
#[derive(Debug, FromXml, PartialEq, ToXml)]
|
||||
struct Baz {
|
||||
baz: String,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue