diff options
author | Abigail <abigail@abigail.be> | 2012-03-13 19:57:38 +0100 |
---|---|---|
committer | Abigail <abigail@abigail.be> | 2012-03-13 19:57:38 +0100 |
commit | cba8842c354197460eeef36ed34e9e904fc9836b (patch) | |
tree | 00bde22333e04e8f756dcda6ce76985b5f1b88d3 /cpan/Unicode-Collate/t/loc_svrf.t | |
parent | 6f865444a9d214a69e0a53f941d29037e5aca6b2 (diff) | |
download | perl-cba8842c354197460eeef36ed34e9e904fc9836b.tar.gz |
Upgrade Unicode-Collate to 0.89
Diffstat (limited to 'cpan/Unicode-Collate/t/loc_svrf.t')
-rw-r--r-- | cpan/Unicode-Collate/t/loc_svrf.t | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/cpan/Unicode-Collate/t/loc_svrf.t b/cpan/Unicode-Collate/t/loc_svrf.t index 8fc90a8bd3..38a47c2503 100644 --- a/cpan/Unicode-Collate/t/loc_svrf.t +++ b/cpan/Unicode-Collate/t/loc_svrf.t @@ -11,11 +11,19 @@ BEGIN { } } -use Test; -BEGIN { plan tests => 115 }; - use strict; use warnings; +BEGIN { $| = 1; print "1..115\n"; } +my $count = 0; +sub ok ($;$) { + my $p = my $r = shift; + if (@_) { + my $x = shift; + $p = !defined $x ? !defined $r : !defined $r ? 0 : $r eq $x; + } + print $p ? "ok" : "not ok", ' ', ++$count, "\n"; +} + use Unicode::Collate::Locale; ok(1); |