summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build.PL2
-rwxr-xr-xt/00-compile.t4
2 files changed, 4 insertions, 2 deletions
diff --git a/Build.PL b/Build.PL
index e629968..2bbecc3 100644
--- a/Build.PL
+++ b/Build.PL
@@ -7,7 +7,7 @@ use Module::Build;
my $build = Module::Build->new(
build_requires => {
'Test::More' => 0,
- 'Test::Compile' => 0,
+ 'Test::Compile' => "1.3.0",
'Test::Pod' => 0,
},
module_name => 'App::Hashl',
diff --git a/t/00-compile.t b/t/00-compile.t
index 0b0ce37..8e594a8 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/hashl');
+my $test = Test::Compile->new();
+$test->all_files_ok('bin/hashl');
+$test->done_testing();