Re: Copious warnings from Sys::Syslog
[p5sagit/p5-mst-13.2.git] / lib / charnames.t
index e12b920..607f4f3 100644 (file)
@@ -8,7 +8,7 @@ BEGIN {
 }
 
 $| = 1;
-print "1..22\n";
+print "1..25\n";
 
 use charnames ':full';
 
@@ -158,3 +158,18 @@ sub to_bytes {
     print "ok 22\n";
 
 }
+
+print "not " unless "\N{HORIZONTAL TABULATION}" eq "\t";
+print "ok 23\n";
+
+print "not " unless "\N{ESCAPE}" eq "\e";
+print "ok 24\n";
+
+print "not " unless "\N{NULL}" eq "\c@";
+print "ok 25\n";
+
+# TODO: when Unicode 3.2 comes along some names will change
+# HORIZONTAL TABULATION -> CHARACTER TABULATION (since ISO 6429
+# has been updated), and some names will have shorter aliases
+# LINEFEED (LF).  Update the tests, and also update the charnames
+# pragma to support the 3.1 names, and the shorter aliases.