cwd("$Bin/..");
# Write a .perldb file so we make sure we dont use the users one
+umask 077;
open PERLDB, ">", "$Bin/../.perldb" or die "Cannot open $Bin/../.perldb: $!";
close PERLDB;
alarm 10;
my $output = `$^X -d t/debug.pl`;
-like($output, qr/method new {}, sub {my \$self = shift;/,
+like($output, qr/method new \{\}, sub \{my \$self = shift;/,
"replaced line string visible in debug lines");
done_testing;