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 @@ -442,11 +442,11 @@ mod tests {
442442 { } => {
443443 let mut settings = insta:: Settings :: clone_current( ) ;
444444 // MacOS Temp Folder
445- settings. add_filter( r"/var/folders/ \S+?/T/\S+" , "[TEMP_FILE]" ) ;
445+ settings. add_filter( r" *\[…\] \S+?/T/\S+" , "[TEMP_FILE]" ) ;
446446 // Linux Temp Folder
447- settings. add_filter( r"/tmp/\.tmp\S+" , "[TEMP_FILE]" ) ;
447+ settings. add_filter( r" * /tmp/\.tmp\S+" , "[TEMP_FILE]" ) ;
448448 // Windows Temp folder
449- settings. add_filter( r"\b[A-Z]:\\ .*\\Local\\Temp\\\S+" , "[TEMP_FILE]" ) ;
449+ settings. add_filter( r" *\[…\] .*\\Local\\Temp\\\S+" , "[TEMP_FILE]" ) ;
450450 // Convert Windows paths to Unix paths
451451 settings. add_filter( r"\\\\?([\w\d.])" , "/$1" ) ;
452452 let _bound = settings. bind_to_scope( ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ source: src/main.rs
33expression : terminal .backend ()
44snapshot_kind : text
55-- -
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] "
77" ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── "
88" ┌Unstaged Changes──────────────────────────────────────────┐┌Diff: ────────────────────────────────────────────────────┐"
99" │Loading ... ││ │"
You can’t perform that action at this time.
0 commit comments