diff --git a/src/pipeline.rs b/src/pipeline.rs index 8baff6f..e3a3d38 100644 --- a/src/pipeline.rs +++ b/src/pipeline.rs @@ -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); } }