File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -421,11 +421,11 @@ mod tests {
421
421
{ } => {
422
422
let mut settings = insta:: Settings :: clone_current( ) ;
423
423
// MacOS Temp Folder
424
- settings. add_filter( r"/var/folders/ \S+?/T/\S+" , "[TEMP_FILE]" ) ;
424
+ settings. add_filter( r" *\[…\] \S+?/T/\S+" , "[TEMP_FILE]" ) ;
425
425
// Linux Temp Folder
426
- settings. add_filter( r"/tmp/\.tmp\S+" , "[TEMP_FILE]" ) ;
426
+ settings. add_filter( r" * /tmp/\.tmp\S+" , "[TEMP_FILE]" ) ;
427
427
// Windows Temp folder
428
- settings. add_filter( r"\b[A-Z]:\\ .*\\Local\\Temp\\\S+" , "[TEMP_FILE]" ) ;
428
+ settings. add_filter( r" *\[…\] .*\\Local\\Temp\\\S+" , "[TEMP_FILE]" ) ;
429
429
// Convert Windows paths to Unix paths
430
430
settings. add_filter( r"\\\\?([\w\d.])" , "/$1" ) ;
431
431
let _bound = settings. bind_to_scope( ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ source: src/main.rs
3
3
expression : terminal .backend ()
4
4
snapshot_kind : text
5
5
-- -
6
- " Status [1] | Log [2] | Files [3] | Stashing [4] | Stashes [5] [TEMP_FILE] "
6
+ " Status [1] | Log [2] | Files [3] | Stashing [4] | Stashes [5][TEMP_FILE] "
7
7
" ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── "
8
8
" ┌Unstaged Changes──────────────────────────────────────────┐┌Diff: ────────────────────────────────────────────────────┐"
9
9
" │Loading ... ││ │"
You can’t perform that action at this time.
0 commit comments