This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Skip a block of ref.t's tests on minitest, as C<re> may not be available.
authorNicholas Clark <nick@ccl4.org>
Fri, 25 Feb 2011 14:57:57 +0000 (14:57 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 6 Mar 2011 09:13:49 +0000 (09:13 +0000)
t/op/ref.t

index 0f6a7a5..ab1fe5c 100644 (file)
@@ -7,7 +7,6 @@ BEGIN {
 }
 
 use strict qw(refs subs);
-use re ();
 
 plan(213);
 
@@ -136,7 +135,9 @@ sub mysub2 { lc shift }
 
 # Test REGEXP assignment
 
-{
+SKIP: {
+    skip_if_miniperl("no dynamic loading on miniperl, so can't load re", 5);
+    require re;
     my $x = qr/x/;
     my $str = "$x"; # regex stringification may change