summaryrefslogtreecommitdiff
path: root/lib/charnames.t
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-12-26 19:30:45 -0700
committerKarl Williamson <public@khwilliamson.com>2011-12-29 21:11:50 -0700
commit1422728a528e59c1bd0570e9219421b12cd4921b (patch)
tree9f8a11e514f78d998bbe2e42fab5c0aaaf3281a5 /lib/charnames.t
parenta11a2debaeb704fb90d1c5a871a70a6941f940fa (diff)
downloadperl-1422728a528e59c1bd0570e9219421b12cd4921b.tar.gz
charnames.t: Skip null name test
In versions of Unicode earlier than 6.1, there was no possibility of a name being empty here; but 6.1 will make that happen, so guard against it.
Diffstat (limited to 'lib/charnames.t')
-rw-r--r--lib/charnames.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/charnames.t b/lib/charnames.t
index 2b4cf9dd3f..4686b8127c 100644
--- a/lib/charnames.t
+++ b/lib/charnames.t
@@ -1062,7 +1062,7 @@ is("\N{U+1D0C5}", "\N{BYZANTINE MUSICAL SYMBOL FTHORA SKLIRON CHROMA VASIS}", 'V
# Make sure that both aliases (the one in UnicodeData, and the one we
# just read) return the same code point.
test_vianame($i, $hex, $name);
- test_vianame($i, $hex, $names[$i]);
+ test_vianame($i, $hex, $names[$i]) if $names[$i] ne "";
# Set up so that a test below of this code point will use the alias
# instead of the less-correct original. We can't test here that