summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Giles <evan@catalyst.net.nz>2019-07-02 20:21:56 +1200
committerEvan Giles <evan@catalyst.net.nz>2019-07-02 20:21:56 +1200
commitab87a3e5e3ca1f406023459b57023947093ef2fe (patch)
treea57ba1bd70c307d30a0cac583a3a246fb9638ca2
parent0d4bd5e1384f9c30683e94934138dc1004e7bd34 (diff)
Update t/00-compile.t to use OO interface
...because the functional interface is deprecated
-rw-r--r--Build.PL2
-rw-r--r--t/00-compile.t4
2 files changed, 4 insertions, 2 deletions
diff --git a/Build.PL b/Build.PL
index c45ef14..2c09c81 100644
--- a/Build.PL
+++ b/Build.PL
@@ -6,7 +6,7 @@ use Module::Build;
my $build = Module::Build->new(
build_requires => {
- 'Test::Compile' => 0,
+ 'Test::Compile' => "1.3.0",
'Test::Fatal' => 0,
'Test::More' => 0,
'Test::Pod' => 0,
diff --git a/t/00-compile.t b/t/00-compile.t
index abcaf94..375237c 100644
--- 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/raps2');
+my $test = Test::Compile->new();
+$test->all_files_ok('bin/raps2');
+$test->done_testing();