summaryrefslogtreecommitdiff
path: root/cpan/Unicode-Collate/t/loc_bg.t
diff options
context:
space:
mode:
authorAbigail <abigail@abigail.be>2012-03-13 19:57:38 +0100
committerAbigail <abigail@abigail.be>2012-03-13 19:57:38 +0100
commitcba8842c354197460eeef36ed34e9e904fc9836b (patch)
tree00bde22333e04e8f756dcda6ce76985b5f1b88d3 /cpan/Unicode-Collate/t/loc_bg.t
parent6f865444a9d214a69e0a53f941d29037e5aca6b2 (diff)
downloadperl-cba8842c354197460eeef36ed34e9e904fc9836b.tar.gz
Upgrade Unicode-Collate to 0.89
Diffstat (limited to 'cpan/Unicode-Collate/t/loc_bg.t')
-rw-r--r--cpan/Unicode-Collate/t/loc_bg.t14
1 files changed, 11 insertions, 3 deletions
diff --git a/cpan/Unicode-Collate/t/loc_bg.t b/cpan/Unicode-Collate/t/loc_bg.t
index 2299d391dd..a17ef54012 100644
--- a/cpan/Unicode-Collate/t/loc_bg.t
+++ b/cpan/Unicode-Collate/t/loc_bg.t
@@ -11,11 +11,19 @@ BEGIN {
}
}
-use Test;
-BEGIN { plan tests => 202 };
-
use strict;
use warnings;
+BEGIN { $| = 1; print "1..202\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);