summaryrefslogtreecommitdiff
path: root/t/run
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-11-25 15:06:41 -0700
committerKarl Williamson <khw@cpan.org>2023-02-08 20:16:03 -0700
commit472953645a796ce6fd09edf90e294f612584e71d (patch)
treea59b154bbcbadda16be27fd42eb7ad388c28b846 /t/run
parentfe7859256d3a8e646ec90c7313a105c8d273db32 (diff)
downloadperl-472953645a796ce6fd09edf90e294f612584e71d.tar.gz
run/locale.t: Use 'is' not 'ok' for a test
'is' is a more modern, better options
Diffstat (limited to 't/run')
-rw-r--r--t/run/locale.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/run/locale.t b/t/run/locale.t
index e18433159e..e888a65a67 100644
--- a/t/run/locale.t
+++ b/t/run/locale.t
@@ -165,8 +165,8 @@ EOF
SKIP: {
skip("no UTF-8 locale available where LC_NUMERIC radix isn't ASCII", 1 )
unless $utf8_radix;
- ok($radix_encoded_as_utf8 == 1, "UTF-8 locale '$utf8_radix' with non-ASCII"
- . " radix is marked UTF-8");
+ is($radix_encoded_as_utf8, 1, "UTF-8 locale '$utf8_radix' with non-ASCII"
+ . " radix is marked UTF-8");
}
SKIP: {