From e754ded83278eb34891d7142cc73170a61adec45 Mon Sep 17 00:00:00 2001 From: Linus Kirkwood Date: Sun, 21 Apr 2024 13:02:17 +1000 Subject: [PATCH] Updated tests after allowing upper_case_acronyms --- xsd-parser/tests/enumeration/expected.rs | 4 ++-- xsd-parser/tests/union/expected.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xsd-parser/tests/enumeration/expected.rs b/xsd-parser/tests/enumeration/expected.rs index b3fcdf37..e9995eb9 100644 --- a/xsd-parser/tests/enumeration/expected.rs +++ b/xsd-parser/tests/enumeration/expected.rs @@ -1,4 +1,4 @@ -#[allow(non_camel_case_types)] +#[allow(non_camel_case_types, clippy::upper_case_acronyms)] #[derive(PartialEq, Debug, YaSerialize, YaDeserialize)] #[yaserde(prefix = "tns", namespace = "tns: http://example.com")] pub enum FooType { @@ -15,7 +15,7 @@ impl Default for FooType { } impl Validate for FooType {} -#[allow(non_camel_case_types)] +#[allow(non_camel_case_types, clippy::upper_case_acronyms)] #[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 27488c73..1af13131 100644 --- a/xsd-parser/tests/union/expected.rs +++ b/xsd-parser/tests/union/expected.rs @@ -1,4 +1,4 @@ -#[allow(non_camel_case_types)] +#[allow(non_camel_case_types, clippy::upper_case_acronyms)] #[derive(PartialEq, Debug, UtilsUnionSerDe)] pub enum FooType { int(i32),