diff options
author | Graham Knop <haarg@haarg.org> | 2022-05-16 19:08:05 +0200 |
---|---|---|
committer | Graham Knop <haarg@haarg.org> | 2022-05-30 11:42:45 +0200 |
commit | 421e9cf4821e5243d998393e3ba3ecdb8fddebc6 (patch) | |
tree | e183eeddf0b7d38523d9eb7c2eb9b3263b114d73 /dist/encoding-warnings/t/4-lexical.t | |
parent | 2eed45ecf025da431cc0d641fdd41def0a6290ec (diff) | |
download | perl-421e9cf4821e5243d998393e3ba3ecdb8fddebc6.tar.gz |
encoding-warnings: convert tests to use Test::More rather than Test.pm
Diffstat (limited to 'dist/encoding-warnings/t/4-lexical.t')
-rw-r--r-- | dist/encoding-warnings/t/4-lexical.t | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dist/encoding-warnings/t/4-lexical.t b/dist/encoding-warnings/t/4-lexical.t index 491dbf8ee2..89a1a86e2e 100644 --- a/dist/encoding-warnings/t/4-lexical.t +++ b/dist/encoding-warnings/t/4-lexical.t @@ -1,5 +1,5 @@ use strict; -use Test; +use warnings; BEGIN { if ("$]" >= 5.025) { print "1..0 # Skip: encoding::warnings not supported on perl 5.26\n"; @@ -15,9 +15,10 @@ BEGIN { exit 0; } - plan tests => 3; } +use Test::More tests => 3; + { use encoding::warnings; ok(encoding::warnings->VERSION); |