t/uni/variables.t: Skip $[ test under miniperl
authorFather Chrysostomos <sprout@cpan.org>
Wed, 4 Dec 2013 14:12:56 +0000 (06:12 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 7 Dec 2013 02:40:46 +0000 (18:40 -0800)
t/uni/variables.t

index c8e6c8c..d802a0a 100644 (file)
@@ -55,6 +55,8 @@ plan (tests => 65880);
 
 # Checking that at least some of the special variables work
 for my $v (qw( ^V ; < > ( ) {^GLOBAL_PHASE} ^W _ 1 4 0 [ ] ! @ / \ = )) {
+  SKIP: {
+    skip_if_miniperl('No $[ under miniperl', 2) if $v eq '[';
     local $@;
     evalbytes "\$$v;";
     is $@, '', "No syntax error for \$$v";
@@ -62,6 +64,7 @@ for my $v (qw( ^V ; < > ( ) {^GLOBAL_PHASE} ^W _ 1 4 0 [ ] ! @ / \ = )) {
     local $@;
     eval "use utf8; \$$v;";
     is $@, '', "No syntax error for \$$v under use utf8";
+  }
 }
 
 # Checking if the Latin-1 range behaves as expected, and that the behavior is the