summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Giles <egiles@cpan.org>2019-07-01 10:11:22 +1200
committerEvan Giles <evan@catalyst.net.nz>2019-07-02 16:50:23 +1200
commitad031e04b0dde95ad9354ac6b6e87aee0d3be327 (patch)
treefa3bea41a3912d05276adf2ffd8ac9bf59b70f73
parent85232738c1b224a223b358f8726ceed82fac2f60 (diff)
Update t/00-compile.t to use OO interface
...because the functional interface is deprecated
-rwxr-xr-xt/00-compile.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/00-compile.t b/t/00-compile.t
index 31e3f3e..e430701 100755
--- a/t/00-compile.t
+++ b/t/00-compile.t
@@ -5,4 +5,6 @@ use 5.010;
use Test::More;
use Test::Compile;
-all_pl_files_ok('bin/icli');
+my $test = Test::Compile->new();
+$test->all_files_ok('bin/icli');
+$test->done_testing();