summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Ollis <plicease@cpan.org>2016-12-08 10:48:29 -0500
committerGraham Ollis <plicease@cpan.org>2016-12-08 10:48:29 -0500
commit08db61e8a621e11a663ce1903ab8b6a4fddb217e (patch)
treed325446b9ed90175b729c5bf6a1cd993398c7c9d
parentc0fe4573f94dcd52bc53432731f2dd2e1737868a (diff)
allow for older versions of Test::More
-rw-r--r--t/04_main_functions.t4
1 files changed, 1 insertions, 3 deletions
diff --git a/t/04_main_functions.t b/t/04_main_functions.t
index 82895c5..03f0918 100644
--- a/t/04_main_functions.t
+++ b/t/04_main_functions.t
@@ -6,7 +6,7 @@
use strict;
use warnings;
-use Test::More;
+use Test::More tests => 24;
use Class::Inspector::Functions;
# To make maintaining this a little faster,
@@ -100,8 +100,6 @@ ok( installed( 'Foo::Bar'), "installed detects coderef installed" );
ok( installed( 'Foo::Baz'), "installed detects arrayref installed" );
ok( installed( 'Foo::Foo'), "installed detects object installed" );
-done_testing;
-
package
MyHook;