summaryrefslogtreecommitdiff
path: root/t/comp
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2017-06-12 11:42:22 +0100
committerDavid Mitchell <davem@iabyn.com>2017-06-12 21:11:02 +0100
commit51099b64db323d0e1d871837f619d72bea8ca2f9 (patch)
tree2d11b630c5f7636ab023d8f439c0b849527b13e2 /t/comp
parent2c8efe4079b75c61cf34425054539a9c24913e9f (diff)
downloadperl-51099b64db323d0e1d871837f619d72bea8ca2f9.tar.gz
fix utf char > IV_MAX on 32-bit platforms
Commit v5.27.0-132-g13f4dd3 forbade out of range Unicode code points, and fixed/removed tests that no longer apply. However, this was probably only tested on a 64-bit platform. Several tests now fail on 32-bit platforms, due to things like "\x{80000000}". This commit fixes up those tests too.
Diffstat (limited to 't/comp')
-rw-r--r--t/comp/parser.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/comp/parser.t b/t/comp/parser.t
index 6fd5ad0aa0..9b0f3a710a 100644
--- a/t/comp/parser.t
+++ b/t/comp/parser.t
@@ -586,7 +586,7 @@ is $@, "", 'substr keys assignment';
{
no warnings;
- eval "q" . chr(100000000064);
+ eval "q" . chr(0x7fffffff);
like $@, qr/Can't find string terminator "." anywhere before EOF/,
'RT 128952';
}