This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add -hiertype option to xsubpp for easier mapping C++ with namespaces.
[perl5.git] / lib / charnames.t
index 42c2205..1beecf3 100644 (file)
@@ -193,10 +193,10 @@ print "ok 30\n";
 print "not " unless "\N{NEL}" =~ $nel;
 print "ok 31\n";
 
-print "not " unless "\N{BYTE ORDER MARK}" eq chr(0xFFFE);
+print "not " unless "\N{BYTE ORDER MARK}" eq chr(0xFEFF);
 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 "ZERO WIDTH NO-BREAK SPACE";
 print "ok 38\n";