From 5e9a0b6a8aa7a578cd6981c45116a26e8f3de39a Mon Sep 17 00:00:00 2001 From: Linus Kirkwood Date: Sun, 21 Apr 2024 02:08:04 +1000 Subject: [PATCH] Updated enum/union tests after adding allow macro --- xsd-parser/tests/enumeration/expected.rs | 2 ++ xsd-parser/tests/union/expected.rs | 1 + 2 files changed, 3 insertions(+) diff --git a/xsd-parser/tests/enumeration/expected.rs b/xsd-parser/tests/enumeration/expected.rs index 373fe24b..b3fcdf37 100644 --- a/xsd-parser/tests/enumeration/expected.rs +++ b/xsd-parser/tests/enumeration/expected.rs @@ -1,3 +1,4 @@ +#[allow(non_camel_case_types)] #[derive(PartialEq, Debug, YaSerialize, YaDeserialize)] #[yaserde(prefix = "tns", namespace = "tns: http://example.com")] pub enum FooType { @@ -14,6 +15,7 @@ impl Default for FooType { } impl Validate for FooType {} +#[allow(non_camel_case_types)] #[derive(PartialEq, Debug, YaSerialize, YaDeserialize)] #[yaserde(prefix = "tns", namespace = "tns: http://example.com")] pub enum FooType1 { diff --git a/xsd-parser/tests/union/expected.rs b/xsd-parser/tests/union/expected.rs index 9a9f83a7..27488c73 100644 --- a/xsd-parser/tests/union/expected.rs +++ b/xsd-parser/tests/union/expected.rs @@ -1,3 +1,4 @@ +#[allow(non_camel_case_types)] #[derive(PartialEq, Debug, UtilsUnionSerDe)] pub enum FooType { int(i32),