Skip to content

Commit 5e9a0b6

Browse files
committed
Updated enum/union tests after adding allow macro
1 parent ca1cac5 commit 5e9a0b6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

xsd-parser/tests/enumeration/expected.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#[allow(non_camel_case_types)]
12
#[derive(PartialEq, Debug, YaSerialize, YaDeserialize)]
23
#[yaserde(prefix = "tns", namespace = "tns: http://example.com")]
34
pub enum FooType {
@@ -14,6 +15,7 @@ impl Default for FooType {
1415
}
1516
impl Validate for FooType {}
1617

18+
#[allow(non_camel_case_types)]
1719
#[derive(PartialEq, Debug, YaSerialize, YaDeserialize)]
1820
#[yaserde(prefix = "tns", namespace = "tns: http://example.com")]
1921
pub enum FooType1 {

xsd-parser/tests/union/expected.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#[allow(non_camel_case_types)]
12
#[derive(PartialEq, Debug, UtilsUnionSerDe)]
23
pub enum FooType {
34
int(i32),

0 commit comments

Comments
 (0)