summaryrefslogtreecommitdiff
path: root/t/opbasic
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-05-13 19:25:22 -0600
committerKarl Williamson <khw@cpan.org>2015-08-01 10:34:50 -0600
commit465ec97d385ebcbccc3851e183df40731041d82f (patch)
tree43f768ed9ee45dee254b371ba5dc610f259d061e /t/opbasic
parent47b0825172d13eb5816cb0ec86fbb52a24ada8ca (diff)
downloadperl-465ec97d385ebcbccc3851e183df40731041d82f.tar.gz
t/opbasic/cmp.t: Add test for NUL
NUL can present problems for string handling; better test it
Diffstat (limited to 't/opbasic')
-rw-r--r--t/opbasic/cmp.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/opbasic/cmp.t b/t/opbasic/cmp.t
index 43e434590a..241eb491a6 100644
--- a/t/opbasic/cmp.t
+++ b/t/opbasic/cmp.t
@@ -35,7 +35,7 @@ $uv_bigi |= 0x0;
my @array = qw(perl rules);
my @raw, @upgraded, @utf8;
-foreach ("\x{1F4A9}", chr(163), 'N') {
+foreach ("\0", "\x{1F4A9}", chr(163), 'N') {
push @raw, $_;
my $temp = $_ . chr 256;
chop $temp;