@@ -297,7 +297,10 @@ subtest 'process(execute => /bin/true)' => sub {
297297 check_bin(' /bin/true' );
298298
299299 is(
300- process(execute => ' /bin/true' )-> quirkiness(1)-> start()-> wait_stop()
300+ process(execute => ' /bin/true' )
301+ -> quirkiness(1)
302+ -> start()
303+ -> wait_stop()
301304 -> exit_status(),
302305 0,
303306 ' Simple exec of /bin/true return 0'
@@ -556,7 +559,9 @@ subtest 'process_args' => sub {
556559 -> start-> wait_stop();
557560 is($p -> read_all_stdout(), " 0$/1$/2$/3$/ " , ' 1) Args given as arrayref.' );
558561
559- $p = Mojo::IOLoop::ReadWriteProcess-> new($code )-> args([(0 .. 3)])
562+ $p
563+ = Mojo::IOLoop::ReadWriteProcess-> new($code )
564+ -> args([(0 .. 3)])
560565 -> start-> wait_stop();
561566 is($p -> read_all_stdout(), " 0$/1$/2$/3$/ " , ' 2) Args given as arrayref.' );
562567};
@@ -568,19 +573,27 @@ subtest 'process in process' => sub {
568573 my $p = process(
569574 sub {
570575 is(
571- process(execute => ' /bin/true' )-> quirkiness(1)-> start()-> wait_stop()
576+ process(execute => ' /bin/true' )
577+ -> quirkiness(1)
578+ -> start()
579+ -> wait_stop()
572580 -> exit_status(),
573581 0,
574582 ' process(execute) from process(code) -- retval check true'
575583 );
576584 is(
577- process(execute => ' /bin/false' )-> quirkiness(1)-> start()-> wait_stop()
585+ process(execute => ' /bin/false' )
586+ -> quirkiness(1)
587+ -> start()
588+ -> wait_stop()
578589 -> exit_status(),
579590 1,
580591 ' process(execute) from process(code) -- retval check false'
581592 );
582593 is(
583- process(sub { print ' sub-sub-process' })-> start()-> wait_stop()
594+ process(sub { print ' sub-sub-process' })
595+ -> start()
596+ -> wait_stop()
584597 -> read_all_stdout,
585598 ' sub-sub-process' ,
586599 ' process(code) works from process(code)'
@@ -613,7 +626,10 @@ subtest 'SIG_CHLD handler in spawned process' => sub {
613626 # somewhere like /opt/hostedtoolcache/perl/<version>/<arch>/bin/perl so
614627 # /usr/bin/perl wouldn't have all needed dependencies
615628 is(
616- process(execute => ' perl' )-> args([$simple_rwp ])-> start()-> wait_stop()
629+ process(execute => ' perl' )
630+ -> args([$simple_rwp ])
631+ -> start()
632+ -> wait_stop()
617633 -> exit_status(),
618634 0,
619635 ' simple_rwp.pl exit with 0'
0 commit comments