File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -361,17 +361,13 @@ fn test_quoting_style_locale() {
361361 ts. ucmd ( )
362362 . env ( "QUOTING_STYLE" , "locale" )
363363 . args ( & [ "-c" , "%N" , "'" ] )
364- . run ( )
365- . no_stderr ( )
366- . stdout_is ( "'\\ ''\n " )
367- . succeeded ( ) ;
364+ . succeeds ( )
365+ . stdout_only ( "'\\ ''\n " ) ;
368366
369367 ts. ucmd ( )
370368 . args ( & [ "-c" , "%N" , "'" ] )
371- . run ( )
372- . no_stderr ( )
373- . stdout_is ( "\" '\" \n " )
374- . succeeded ( ) ;
369+ . succeeds ( )
370+ . stdout_only ( "\" '\" \n " ) ;
375371}
376372
377373#[ test]
@@ -395,11 +391,11 @@ fn test_printf_octal_2() {
395391}
396392
397393#[ test]
398- fn test_printf_hex_3 ( ) {
394+ fn test_printf_incomplete_hex ( ) {
399395 let ts = TestScenario :: new ( util_name ! ( ) ) ;
400396 ts. ucmd ( )
401397 . args ( & [ "--printf=\\ x" , "." ] )
402- . run ( )
398+ . succeeds ( )
403399 . stderr_contains ( "warning: incomplete hex escape" ) ;
404400}
405401
You can’t perform that action at this time.
0 commit comments