summaryrefslogtreecommitdiff
path: root/t/op/warn.t
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-02-22 20:04:17 +0000
committerNicholas Clark <nick@ccl4.org>2011-02-22 20:04:17 +0000
commit3a5f098b69cbd670f0f4d04d8856a190d524f63a (patch)
tree477379935f43a4191dba7deb57ff4be32f0619ab /t/op/warn.t
parent0e9be77f0cd6452aaea65088e06f647e82aca5e8 (diff)
downloadperl-3a5f098b69cbd670f0f4d04d8856a190d524f63a.tar.gz
Skip a warnings test under miniperl that relies on the effects of -C
miniperl ignores -C and $ENV{PERL_UNICODE}, as of e27b5b51275a893e.
Diffstat (limited to 't/op/warn.t')
-rw-r--r--t/op/warn.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/op/warn.t b/t/op/warn.t
index 30dccdf301..bcb12a6a00 100644
--- a/t/op/warn.t
+++ b/t/op/warn.t
@@ -119,6 +119,8 @@ fresh_perl_like(
'warn emits logical characters, not internal bytes [perl #45549]'
);
+SKIP: {
+ skip_if_miniperl('miniperl ignores -C', 1);
fresh_perl_like(
'
$a = "\xee\n";
@@ -130,6 +132,7 @@ fresh_perl_like(
{ switches => ['-CE'] },
'warn respects :utf8 layer'
);
+}
fresh_perl_like(
'warn chr 300',