Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 583edc8

Browse files
committedMar 4, 2025·
windows strikes again
1 parent 231475b commit 583edc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎crates/ruff/tests/lint.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3079,7 +3079,7 @@ from typing import Union;foo: Union[int, str] = 1
30793079
let testpy_canon = testpy.canonicalize()?;
30803080

30813081
insta::with_settings!({
3082-
filters => vec![(tempdir_filter(&testpy_canon).as_str(), "[TMP]/foo/test.py"),(tempdir_filter(&project_dir).as_str(), "[TMP]/"),(r"(?m)^foo\\test","foo/test")]
3082+
filters => vec![(tempdir_filter(&testpy_canon).as_str(), "[TMP]/foo/test.py"),(tempdir_filter(&project_dir).as_str(), "[TMP]/"),(r"[TMP]\\foo\\","[TMP]/foo/")]
30833083
}, {
30843084
assert_cmd_snapshot!(Command::new(get_cargo_bin(BIN_NAME))
30853085
.args(STDIN_BASE_OPTIONS)

0 commit comments

Comments
 (0)
Please sign in to comment.