Skip to content

Commit

Permalink
Updated enum/union tests after adding allow macro
Browse files Browse the repository at this point in the history
  • Loading branch information
lkirkwood committed Apr 20, 2024
1 parent ca1cac5 commit 5e9a0b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xsd-parser/tests/enumeration/expected.rs
Original file line number Diff line number Diff line change
@@ -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 {
Expand All @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions xsd-parser/tests/union/expected.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#[allow(non_camel_case_types)]
#[derive(PartialEq, Debug, UtilsUnionSerDe)]
pub enum FooType {
int(i32),
Expand Down

0 comments on commit 5e9a0b6

Please sign in to comment.