Skip to content

Commit 8aa8c56

Browse files
committed
windows strikes again
1 parent 231475b commit 8aa8c56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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"foo\\","foo/")]
30833083
}, {
30843084
assert_cmd_snapshot!(Command::new(get_cargo_bin(BIN_NAME))
30853085
.args(STDIN_BASE_OPTIONS)

0 commit comments

Comments
 (0)