We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec77772 commit 6b554a8Copy full SHA for 6b554a8
src/mutant.rs
@@ -369,7 +369,10 @@ mod test {
369
assert!(debug_format.contains("span: Span(2, 5, 4, 6)"));
370
assert!(debug_format.contains("short_replaced: None"));
371
assert!(debug_format.contains(r#"name: "cargo-mutants-testdata-factorial""#));
372
- assert!(debug_format.contains(r#""src/bin/factorial.rs""#));
+ assert!(
373
+ debug_format.contains(r#""src/bin/factorial.rs""#)
374
+ || debug_format.contains(r#""src\bin\factorial.rs""#)
375
+ );
376
assert!(
377
!debug_format.contains("fn main()"),
378
"Debug form seems to contain source code"
0 commit comments