Make ext/B/t/strict.t test alike to other ones.
authorPetr Písař <ppisar@redhat.com>
Fri, 7 Dec 2018 14:25:53 +0000 (09:25 -0500)
committerJames E Keenan <jkeenan@cpan.org>
Fri, 7 Dec 2018 14:28:22 +0000 (09:28 -0500)
Signed-off-by: Petr Písař <ppisar@redhat.com>
For: RT 133713

ext/B/t/strict.t

index 4d1b84a..9f5eacd 100644 (file)
@@ -7,7 +7,7 @@ use Config;
 use Test::More;
 
 BEGIN {
-    if ( ( $Config{'extensions'} !~ /\sB\s/ ) ) {
+    if ( ( $Config{'extensions'} !~ /\bB\b/ ) ) {
         plan skip_all => "Perl was not compiled with B";
         exit 0;
     }