Skip to content

Commit 87f649a

Browse files
committed
tests: Provide more detail on failure
1 parent e55a9fa commit 87f649a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/tests.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2746,7 +2746,10 @@ fn test_json() {
27462746

27472747
assert_eq!(found_files.len(), expected.len());
27482748
for f in expected {
2749-
assert!(found_files.contains(f), "didn't find {f}");
2749+
assert!(
2750+
found_files.contains(f),
2751+
"didn't find {f} in {found_files:?}"
2752+
);
27502753
}
27512754
}
27522755

0 commit comments

Comments
 (0)