From: Karl Williamson Date: Tue, 27 Dec 2011 02:30:45 +0000 (-0700) Subject: charnames.t: Skip null name test X-Git-Tag: accepted/trunk/20130322.191538~1460 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1422728a528e59c1bd0570e9219421b12cd4921b;p=platform%2Fupstream%2Fperl.git 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. --- diff --git a/lib/charnames.t b/lib/charnames.t index 2b4cf9d..4686b81 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