In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/7f8f1c2613d1d5df0b1071bd5fe3eec808c4a69e?hp=975fe8546427b5f6259103912b13925be148becd>

- Log -----------------------------------------------------------------
commit 7f8f1c2613d1d5df0b1071bd5fe3eec808c4a69e
Author: Craig A. Berry <[email protected]>
Date:   Fri Feb 6 17:31:43 2015 -0600

    Fix quoting in new switchd.t test.
    
    Escaped double quotes are not portable, but luckily we don't need
    to worry about what is portable as runperl will take care of it for
    us if we leave things in its capable hands.
    
    Follow-up to 8d28fc8f69270cc75d9564.
-----------------------------------------------------------------------

Summary of changes:
 t/run/switchd.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/run/switchd.t b/t/run/switchd.t
index e210662..a4518f4 100644
--- a/t/run/switchd.t
+++ b/t/run/switchd.t
@@ -318,7 +318,7 @@ local $ENV{PERL5OPT} = '-d:switchd_empty';
 
 like(
   runperl(
-   switches => [ '-Ilib', '-e "print \"hi\""' ],
+   switches => [ '-Ilib' ], prog => 'print q(hi)',
   ),
   qr/hi/,
  'putenv does not interfere with PERL5OPT parsing',

--
Perl5 Master Repository

Reply via email to