diff options
author | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2010-11-23 19:12:21 +0000 |
---|---|---|
committer | Chris 'BinGOs' Williams <chris@bingosnet.co.uk> | 2010-11-23 19:14:22 +0000 |
commit | 68adb2b0c592afeb71b5a6a4f15af308d54a0db4 (patch) | |
tree | efad211919b5983309ef8c9beff5be20d6eea0cb /cpan/Unicode-Collate/t/loc_nn.t | |
parent | 0f8e99e6b6437e33cba24699aefea8b17ce0bfc6 (diff) | |
download | perl-68adb2b0c592afeb71b5a6a4f15af308d54a0db4.tar.gz |
Update Unicode-Collate to CPAN version 0.68
[DELTA]
0.68 Tue Nov 23 20:17:22 2010
- doc: clarified about (backwards => [ ]) and (backwards => undef).
- separated t/backwds.t from t/test.t.
- added cjk_b5.t, cjk_gb.t, cjk_ja.t, cjk_ko.t, cjk_py.t, cjk_st.t in t
for CJK/*.pm without Locale.pm.
Diffstat (limited to 'cpan/Unicode-Collate/t/loc_nn.t')
-rw-r--r-- | cpan/Unicode-Collate/t/loc_nn.t | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/cpan/Unicode-Collate/t/loc_nn.t b/cpan/Unicode-Collate/t/loc_nn.t index 9f3cb0be37..50503a32af 100644 --- a/cpan/Unicode-Collate/t/loc_nn.t +++ b/cpan/Unicode-Collate/t/loc_nn.t @@ -1,10 +1,26 @@ -#!perl + +BEGIN { + unless ("A" eq pack('U', 0x41)) { + print "1..0 # Unicode::Collate " . + "cannot stringify a Unicode code point\n"; + exit 0; + } + if ($ENV{PERL_CORE}) { + chdir('t') if -d 't'; + @INC = $^O eq 'MacOS' ? qw(::lib) : qw(../lib); + } +} + +use Test; +BEGIN { plan tests => 95 }; + use strict; use warnings; use Unicode::Collate::Locale; -use Test; -plan tests => 95; +ok(1); + +######################### my $eth = pack 'U', 0xF0; my $ETH = pack 'U', 0xD0; @@ -26,7 +42,6 @@ my $Arng = pack 'U', 0xC5; my $objNn = Unicode::Collate::Locale-> new(locale => 'NN', normalization => undef); -ok(1); ok($objNn->getlocale, 'nn'); $objNn->change(level => 1); |