diff options
author | Karl Williamson <khw@cpan.org> | 2022-11-25 15:06:41 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2023-02-08 20:16:03 -0700 |
commit | 472953645a796ce6fd09edf90e294f612584e71d (patch) | |
tree | a59b154bbcbadda16be27fd42eb7ad388c28b846 /t/run | |
parent | fe7859256d3a8e646ec90c7313a105c8d273db32 (diff) | |
download | perl-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.t | 4 |
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: { |