Skip to content

Commit

Permalink
add #[deny] in test cases to error instead of warning on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
WorldSEnder committed Dec 15, 2021
1 parent 8934fa0 commit 58cb457
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/yew-macro/tests/derive_props/pass.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ mod t12 {
}
}

#[deny(non_snake_case, dead_code)]
mod t13 {
#[derive(::std::cmp::PartialEq, ::yew::Properties)]
#[allow(non_snake_case)] // putting this on fields directly does not work, even in normal rust
Expand Down

0 comments on commit 58cb457

Please sign in to comment.