File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
crates/cargo-test-support/src Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -83,15 +83,15 @@ pub fn assert_ui() -> snapbox::Assert {
83
83
let root = root. display ( ) . to_string ( ) ;
84
84
85
85
let mut subs = snapbox:: Redactions :: new ( ) ;
86
- subs. extend ( [
87
- (
88
- "[EXE]" ,
89
- std:: borrow:: Cow :: Borrowed ( std:: env:: consts:: EXE_SUFFIX ) ,
90
- ) ,
91
- ( "[ROOT]" , std:: borrow:: Cow :: Owned ( root) ) ,
92
- ( "[ROOTURL]" , std:: borrow:: Cow :: Owned ( root_url) ) ,
93
- ] )
86
+ subs. extend ( [ (
87
+ "[EXE]" ,
88
+ std:: borrow:: Cow :: Borrowed ( std:: env:: consts:: EXE_SUFFIX ) ,
89
+ ) ] )
94
90
. unwrap ( ) ;
91
+ subs. insert ( "[ROOT]" , std:: borrow:: Cow :: Owned ( root) )
92
+ . unwrap ( ) ;
93
+ subs. insert ( "[ROOTURL]" , std:: borrow:: Cow :: Owned ( root_url) )
94
+ . unwrap ( ) ;
95
95
snapbox:: Assert :: new ( )
96
96
. action_env ( snapbox:: assert:: DEFAULT_ACTION_ENV )
97
97
. substitutions ( subs)
You can’t perform that action at this time.
0 commit comments