Skip to content

Commit ab63453

Browse files
committed
chore: test cases.
1 parent 8f6248d commit ab63453

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

crates/serde_valid/tests/custom_test.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -317,12 +317,6 @@ fn filed_custom_validation_using_self() {
317317
food: String,
318318
}
319319

320-
let cat = Pet {
321-
kind: "Cat".to_string(),
322-
food: "CatFood".to_string(),
323-
};
324-
assert!(cat.validate().is_ok());
325-
326320
let invalid = Pet {
327321
kind: "Cat".to_string(),
328322
food: "DogFood".to_string(),

0 commit comments

Comments
 (0)