Skip to content

Commit

Permalink
Clean utoipa component derive test
Browse files Browse the repository at this point in the history
  • Loading branch information
juhaku committed Apr 27, 2022
1 parent 3018814 commit 51c8825
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/component_derive_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -858,12 +858,6 @@ fn derive_parse_serde_complex_enum() {
Random,
}
};
#[derive(Serialize, Component)]
#[serde(rename_all = "")]
pub enum MyType {
CaseOne,
CaseTwo,
};

assert_value! {complex_enum=>
"oneOf.[0].enum" = r#"["unitValue"]"#, "Unit value enum"
Expand Down

0 comments on commit 51c8825

Please sign in to comment.