Skip to content

Commit

Permalink
change to assert!
Browse files Browse the repository at this point in the history
  • Loading branch information
JR-1991 committed Jun 7, 2024
1 parent fa9c89c commit eb13a0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -395,13 +395,13 @@ mod tests {
fn test_has_wildcard_fname() {
let path = PathBuf::from("path/to/*.json");
let result = has_wildcard_fname(&path);
assert_eq!(result, true);
assert!(result);
}

#[test]
fn test_has_wildcard_fname_no_wildcard() {
let path = PathBuf::from("path/to/file.json");
let result = has_wildcard_fname(&path);
assert_eq!(result, false);
assert!(!result);
}
}

0 comments on commit eb13a0c

Please sign in to comment.