Upgrade to Tie::File 0.91, from mjd.
[p5sagit/p5-mst-13.2.git] / lib / charnames.t
index 7b7ad90..42c2205 100644 (file)
@@ -12,7 +12,7 @@ BEGIN {
 
 $| = 1;
 
-print "1..37\n";
+print "1..38\n";
 
 use charnames ':full';
 
@@ -137,7 +137,8 @@ sub to_bytes {
     print "not " unless charnames::viacode(0x1234) eq "ETHIOPIC SYLLABLE SEE";
     print "ok 17\n";
 
-    print "not " if defined charnames::viacode(0x0590); # unused Hebrew
+    # Unused Hebrew.
+    print "not " unless charnames::viacode(0x0590) eq chr(0xFFFD);
     print "ok 18\n";
 }
 
@@ -216,3 +217,6 @@ print "ok 33\n";
     print "ok 37\n";
 }
 
+print "not " unless charnames::viacode(0xFFFE) eq "BYTE ORDER MARK";
+print "ok 38\n";
+