summaryrefslogtreecommitdiff
path: root/t/op/bop.t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-10-16 01:41:18 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-10-16 01:41:18 +0000
commitf0da931df862f29068917aaee7308b680f8298c0 (patch)
tree9fc04b86aa62100703466e3e9c18b42c1bab11c0 /t/op/bop.t
parent3da1940a58e9be3dc5e1c04008987d5f3bf54822 (diff)
downloadperl-f0da931df862f29068917aaee7308b680f8298c0.tar.gz
One more ~utf8 tweak.
p4raw-id: //depot/perl@7239
Diffstat (limited to 't/op/bop.t')
-rwxr-xr-xt/op/bop.t7
1 files changed, 5 insertions, 2 deletions
diff --git a/t/op/bop.t b/t/op/bop.t
index a841b8c9c2..fd080e6be8 100755
--- a/t/op/bop.t
+++ b/t/op/bop.t
@@ -9,7 +9,7 @@ BEGIN {
@INC = '../lib';
}
-print "1..37\n";
+print "1..38\n";
# numerics
print ((0xdead & 0xbeef) == 0x9ead ? "ok 1\n" : "not ok 1\n");
@@ -101,7 +101,7 @@ print "ok 35\n" if sprintf("%vd", $a) eq '248.444';
my @not36;
-for (0, 0x100...0xFFF) {
+for (0x100...0xFFF) {
$a = ~(chr $_);
push @not36, sprintf("%#03X", $_)
if $a ne chr(~$_) or length($a) != 1 or ~$a ne chr($_);
@@ -128,3 +128,6 @@ if (@not37) {
print "not ";
}
print "ok 37\n";
+
+print "not " unless ~chr(~0) eq "\0";
+print "ok 38\n";