Skip to content

Commit

Permalink
Remove unused field in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitrySamoylov committed Apr 17, 2024
1 parent 4851fbd commit 6da2e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xsd-parser/src/generator/validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ mod test {

#[test]
fn test_validator_for_tuple_struct() {
struct Foo(i64);
struct Foo(());
impl Validate for Foo {
fn validate(&self) -> Result<(), String> {
Err("Error".to_owned())
Expand Down

0 comments on commit 6da2e8c

Please sign in to comment.