diff options
author | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2010-08-23 17:07:51 +0100 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2010-08-23 17:08:30 +0100 |
commit | 64dc7822f60bee2c3c7ba145a3ed170e6ec9ab34 (patch) | |
tree | b8d4febea0b0028705f0bc224c06a863eade806e /cpan/Unicode-Collate/t/loc_es.t | |
parent | 829cd18aa7f45221b0c0a3d4893cb4377bef2063 (diff) | |
download | perl-64dc7822f60bee2c3c7ba145a3ed170e6ec9ab34.tar.gz |
Update Unicode-Collate to CPAN version 0.57
[DELTA]
0.57 Sun Aug 22 22:39:58 2010
- Unicode::Collate::Locale newly supports locales: ca, et, fi, lv, sk, sl.
Diffstat (limited to 'cpan/Unicode-Collate/t/loc_es.t')
-rw-r--r-- | cpan/Unicode-Collate/t/loc_es.t | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/cpan/Unicode-Collate/t/loc_es.t b/cpan/Unicode-Collate/t/loc_es.t index 228a58cbda..54ac671350 100644 --- a/cpan/Unicode-Collate/t/loc_es.t +++ b/cpan/Unicode-Collate/t/loc_es.t @@ -4,7 +4,7 @@ use warnings; use Unicode::Collate::Locale; use Test; -plan tests => 22; +plan tests => 26; my $objEs = Unicode::Collate::Locale-> new(locale => 'ES', normalization => undef); @@ -25,15 +25,23 @@ ok($objEs->gt("o", "n\x{303}")); # 10 +ok($objEs->eq("a\x{300}a", "aa\x{300}")); + $objEs->change(level => 2); +ok($objEs->gt("a\x{300}a", "aa\x{300}")); +ok($objEs->lt("Ca\x{300}ca\x{302}", "ca\x{302}ca\x{300}")); +ok($objEs->lt("ca\x{300}ca\x{302}", "Ca\x{302}ca\x{300}")); + +# 14 + ok($objEs->eq("ch", "Ch")); ok($objEs->eq("Ch", "CH")); ok($objEs->eq("ll", "Ll")); ok($objEs->eq("Ll", "LL")); ok($objEs->eq("n\x{303}", "N\x{303}")); -# 15 +# 19 $objEs->change(level => 3); @@ -45,4 +53,4 @@ ok($objEs->lt("n\x{303}", "N\x{303}")); ok($objEs->eq("n\x{303}", pack('U', 0xF1))); ok($objEs->eq("N\x{303}", pack('U', 0xD1))); -# 22 +# 26 |