File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ impl<'a> fmt::Debug for ArgsInnerDebug<'a> {
182182 }
183183 first = false ;
184184
185- fmt:: Debug :: fmt ( i, f) ?;
185+ fmt:: Debug :: fmt ( & i, f) ?;
186186 }
187187 f. write_str ( "]" ) ?;
188188 Ok ( ( ) )
@@ -223,7 +223,7 @@ mod tests {
223223 parse_lp_cmd_line ( wide. as_ptr ( ) as * const u16 , || OsString :: from ( "TEST.EXE" ) )
224224 } ;
225225 let expected: Vec < OsString > = parts. iter ( ) . map ( |k| OsString :: from ( k) ) . collect ( ) ;
226- assert_eq ! ( parsed, expected) ;
226+ assert_eq ! ( parsed. as_slice ( ) , expected. as_slice ( ) ) ;
227227 }
228228
229229 #[ test]
@@ -267,7 +267,7 @@ mod tests {
267267 r#"EXE "this is """all""" in the same argument""# ,
268268 & [ "EXE" , "this is \" all\" in the same argument" ]
269269 ) ;
270- chk ( r#"EXE "\u{1} """# , & [ "EXE" , "\u{1} \" " ] ) ;
270+ chk ( r#"EXE "a """# , & [ "EXE" , "a \" " ] ) ;
271271 chk ( r#"EXE "a"" a"# , & [ "EXE" , "a\" " , "a" ] ) ;
272272 }
273273}
You can’t perform that action at this time.
0 commit comments