summaryrefslogtreecommitdiff
path: root/lib/charnames.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/charnames.t')
-rw-r--r--lib/charnames.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/charnames.t b/lib/charnames.t
index 42c2205713..730ce1805a 100644
--- a/lib/charnames.t
+++ b/lib/charnames.t
@@ -196,7 +196,7 @@ print "ok 31\n";
print "not " unless "\N{BYTE ORDER MARK}" eq chr(0xFFFE);
print "ok 32\n";
-print "not " unless "\N{BOM}" eq chr(0xFFFE);
+print "not " unless "\N{BOM}" eq chr(0xFEFF);
print "ok 33\n";
{
@@ -217,6 +217,6 @@ print "ok 33\n";
print "ok 37\n";
}
-print "not " unless charnames::viacode(0xFFFE) eq "BYTE ORDER MARK";
+print "not " unless charnames::viacode(0xFEFF) eq "BYTE ORDER MARK";
print "ok 38\n";