Skip to content

Commit 58dceba

Browse files
committed
Fixup mis-normalized backslash
1 parent 9e1fefe commit 58dceba

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

tests/integration.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ fn main() -> Result<()> {
7171
.normalize_stdout
7272
.insert(0, (Match::Exact(b"\\\\\\\\".to_vec()), b"\\".to_vec()));
7373
config.path_filter(std::path::Path::new(path), "$DIR");
74+
// Unescape escaped quotes at the end of windows paths in json
75+
config.filter("/\"", "\\\"");
7476
config.stdout_filter(r#"(panic.*)\.rs:[0-9]+:[0-9]+"#, "$1.rs");
7577
// We don't want to normalize lines starting with `+`, those are diffs of the inner ui_test
7678
// and normalizing these here doesn't make the "actual output differed from expected" go

0 commit comments

Comments
 (0)