Skip to content

Commit

Permalink
Fix mock rye home dir regex
Browse files Browse the repository at this point in the history
  • Loading branch information
cnpryer committed Feb 26, 2024
1 parent 3458654 commit 4605add
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rye/tests/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ pub const INSTA_FILTERS: &[(&str, &str)] = &[
"[TEMP_PATH]/",
),
// home
(r"(\b[A-Z]:)?[\\/].*?[\\/]home", "[RYE_HOME]"),
(
r"(\b[A-Z]:)?[\\/].*?[\\/]rye-test-dir[\\/]home",
"[RYE_HOME]",
),
// macos temp folder
(r"/var/folders/\S+?/T/\S+", "[TEMP_FILE]"),
// linux temp folders
Expand Down

0 comments on commit 4605add

Please sign in to comment.