summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2015-09-08 09:45:46 -0600
committerKarl Williamson <khw@cpan.org>2015-09-08 10:05:56 -0600
commitcf82bb84f419f9ee1d5beb2aaa94af3a6b9d5d44 (patch)
tree99ab85cc3194993635bc0edb936578ea908ea6d8 /lib
parent51cdbd7cf1dd4d8b5b25f19d5d60fa1f1b672468 (diff)
downloadperl-cf82bb84f419f9ee1d5beb2aaa94af3a6b9d5d44.tar.gz
lib/locale.t: sub ok() returns pass/fail
This file rolls its own TAP, and it did not have its ok() return pass/fail.
Diffstat (limited to 'lib')
-rw-r--r--lib/locale.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/locale.t b/lib/locale.t
index 1b510d25e6..13f1d32f19 100644
--- a/lib/locale.t
+++ b/lib/locale.t
@@ -88,6 +88,7 @@ sub ok {
print "ok " . ++$test_num;
print " $message";
print "\n";
+ return ($result) ? 1 : 0;
}
# First we'll do a lot of taint checking for locales.