X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2Fbytes.t;h=dda2b87728e3e3516e80da4ab9e9941bb0ed5146;hb=97f7c9df67594113b48c545edcf881b4fe094d23;hp=05c748c5ace0903ade1e4f2619c1c9dfaa84639f;hpb=4e002eb05459a979289e3370d725d5d3a3407109;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/bytes.t b/lib/bytes.t index 05c748c..dda2b87 100644 --- a/lib/bytes.t +++ b/lib/bytes.t @@ -22,7 +22,11 @@ print ord($c) == 0x100 ? "ok 4\n" : "not ok 4\n"; { use bytes; - print ord($c) == 0xc4 ? "ok 5\n" : "not ok 5\n"; + if (ord('A') == 193) { + print ord($c) == 0x8c ? "ok 5\n" : "not ok 5\n"; + } else { + print ord($c) == 0xc4 ? "ok 5\n" : "not ok 5\n"; + } print length($c) == 2 ? "ok 6\n" : "not ok 6\n"; }