diff options
author | Evan Giles <evan@catalyst.net.nz> | 2019-07-02 20:21:56 +1200 |
---|---|---|
committer | Evan Giles <evan@catalyst.net.nz> | 2019-07-02 20:21:56 +1200 |
commit | ab87a3e5e3ca1f406023459b57023947093ef2fe (patch) | |
tree | a57ba1bd70c307d30a0cac583a3a246fb9638ca2 | |
parent | 0d4bd5e1384f9c30683e94934138dc1004e7bd34 (diff) |
Update t/00-compile.t to use OO interface
...because the functional interface is deprecated
-rw-r--r-- | Build.PL | 2 | ||||
-rw-r--r-- | t/00-compile.t | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -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(); |