Skip to content

Commit

Permalink
chore: fix test cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
yassun7010 committed Jan 7, 2025
1 parent 4b445e1 commit 7c0b4fb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/serde_valid/tests/custom_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,7 @@ fn filed_custom_validation_use_self() {
))
}
}
_ => Err(serde_valid::validation::Error::Custom(
"Unknown pet type.".to_string(),
)),
_ => Ok(()),
}
}

Expand Down

0 comments on commit 7c0b4fb

Please sign in to comment.