diff options
Diffstat (limited to 'cpan/Unicode-Collate/t/loc_ta.t')
-rw-r--r-- | cpan/Unicode-Collate/t/loc_ta.t | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/cpan/Unicode-Collate/t/loc_ta.t b/cpan/Unicode-Collate/t/loc_ta.t index 710860ec9a..6341829038 100644 --- a/cpan/Unicode-Collate/t/loc_ta.t +++ b/cpan/Unicode-Collate/t/loc_ta.t @@ -11,11 +11,19 @@ BEGIN { } } -use Test; -BEGIN { plan tests => 52 }; - use strict; use warnings; +BEGIN { $| = 1; print "1..52\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); |