This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
lib/locale.t: Improve skipping of incompatible locales
[perl5.git] / lib / DB.t
index a1fadf3..e4ee074 100644 (file)
--- a/lib/DB.t
+++ b/lib/DB.t
@@ -126,7 +126,7 @@ is( DB::_clientname('bar'), undef,
         my @ret = eval { DB->backtrace() };
         like( $ret[0], qr/file.+\Q$0\E/, 'DB::backtrace() should report current file');
         like( $ret[0], qr/line $line/, '... should report calling line number' );
-        like( $ret[0], qr/eval {...}/, '... should catch eval BLOCK' );
+        like( $ret[0], qr/eval\Q {...}/, '... should catch eval BLOCK' );
 
         @ret = eval "one(2)";
         is( scalar @ret, 1, '... should report from provided stack frame number' );
@@ -337,7 +337,7 @@ SKIP: {
                 '... should increment past lines with no events' );
                 
         ok( ! defined DB::_find_subline('sirnotappearinginthisfilm'),
-                '... should not find nonexistant sub' );
+                '... should not find nonexistent sub' );
 }
 
 # test DB::clr_breaks()