diff options
author | Craig A. Berry <craigberry@mac.com> | 2014-06-27 14:37:43 -0500 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2014-06-27 19:21:06 -0500 |
commit | 0034e50329ab84f740da74562ac0c45322e16142 (patch) | |
tree | f36ecb77f68f164a9e90903450dd3c82276aa97c /lib/perl5db.t | |
parent | 1a522d5d2eabaad86767a61f2d524cb0f4524df0 (diff) | |
download | perl-0034e50329ab84f740da74562ac0c45322e16142.tar.gz |
Fix like/is problem in perl5db.t.
aaa63daea7f8ece changed like to is, which turned out not to be
quite the same thing for these tests on VMS, where the last line
of a file always gets a newline before EOF willy nilly. So keep
is but make the newline explicit.
Diffstat (limited to 'lib/perl5db.t')
-rw-r--r-- | lib/perl5db.t | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/perl5db.t b/lib/perl5db.t index 0b777314fa..e93aee083c 100644 --- a/lib/perl5db.t +++ b/lib/perl5db.t @@ -97,24 +97,24 @@ EOF # [ perl #116769] Frame=2 { local $ENV{PERLDB_OPTS} = "frame=2 nonstop"; - my $output = runperl( switches => [ '-d' ], prog => 'print q{success}' ); + my $output = runperl( switches => [ '-d' ], prog => 'print qq{success\n}' ); is( $?, 0, '[perl #116769] frame=2 does not crash debugger, exit == 0' ); - is( $output, 'success' , '[perl #116769] code is run' ); + is( $output, "success\n" , '[perl #116769] code is run' ); } # [ perl #116771] autotrace { local $ENV{PERLDB_OPTS} = "autotrace nonstop"; - my $output = runperl( switches => [ '-d' ], prog => 'print q{success}' ); + my $output = runperl( switches => [ '-d' ], prog => 'print qq{success\n}' ); is( $?, 0, '[perl #116771] autotrace does not crash debugger, exit == 0' ); - is( $output, 'success' , '[perl #116771] code is run' ); + is( $output, "success\n" , '[perl #116771] code is run' ); } # [ perl #41461] Frame=2 noTTY { local $ENV{PERLDB_OPTS} = "frame=2 noTTY nonstop"; rc(''); - my $output = runperl( switches => [ '-d' ], prog => 'print q{success}' ); + my $output = runperl( switches => [ '-d' ], prog => 'print qq{success\n}' ); is( $?, 0, '[perl #41461] frame=2 noTTY does not crash debugger, exit == 0' ); - is( $output, 'success' , '[perl #41461] code is run' ); + is( $output, "success\n" , '[perl #41461] code is run' ); } package DebugWrap; |