This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make ext/B/t/strict.t test alike to other ones.
[perl5.git] / 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;
     }