projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8ac2b4
)
t/uni/variables.t: Skip $[ test under miniperl
author
Father Chrysostomos
<sprout@cpan.org>
Wed, 4 Dec 2013 14:12:56 +0000
(06:12 -0800)
committer
Father Chrysostomos
<sprout@cpan.org>
Sat, 7 Dec 2013 02:40:46 +0000
(18:40 -0800)
t/uni/variables.t
patch
|
blob
|
history
diff --git
a/t/uni/variables.t
b/t/uni/variables.t
index
c8e6c8c
..
d802a0a
100644
(file)
--- a/
t/uni/variables.t
+++ b/
t/uni/variables.t
@@
-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