File tree 1 file changed +3
-3
lines changed
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> {
182
182
}
183
183
first = false ;
184
184
185
- fmt:: Debug :: fmt ( i, f) ?;
185
+ fmt:: Debug :: fmt ( & i, f) ?;
186
186
}
187
187
f. write_str ( "]" ) ?;
188
188
Ok ( ( ) )
@@ -223,7 +223,7 @@ mod tests {
223
223
parse_lp_cmd_line ( wide. as_ptr ( ) as * const u16 , || OsString :: from ( "TEST.EXE" ) )
224
224
} ;
225
225
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 ( ) ) ;
227
227
}
228
228
229
229
#[ test]
@@ -267,7 +267,7 @@ mod tests {
267
267
r#"EXE "this is """all""" in the same argument""# ,
268
268
& [ "EXE" , "this is \" all\" in the same argument" ]
269
269
) ;
270
- chk ( r#"EXE "\u{1} """# , & [ "EXE" , "\u{1} \" " ] ) ;
270
+ chk ( r#"EXE "a """# , & [ "EXE" , "a \" " ] ) ;
271
271
chk ( r#"EXE "a"" a"# , & [ "EXE" , "a\" " , "a" ] ) ;
272
272
}
273
273
}
You can’t perform that action at this time.
0 commit comments