projects
/
p5sagit/Devel-REPL.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
5dcad11
)
ensure all tests run via done_testing()
Karen Etheridge [Tue, 26 Mar 2013 16:38:36 +0000 (09:38 -0700)]
Makefile.PL
patch
|
blob
|
blame
|
history
t/load_core.t
patch
|
blob
|
blame
|
history
t/load_plugins.t
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.PL
b/Makefile.PL
index
82fc4e5
..
f186872
100644
(file)
--- a/
Makefile.PL
+++ b/
Makefile.PL
@@
-73,7
+73,7
@@
feature 'Refresh plugin - automatically reload libraries with Module::Refresh',
-default => 0,
'Module::Refresh' => 0;
-test_requires 'Test::More';
+test_requires 'Test::More' => '0.88';
auto_install;
WriteAll;
diff --git
a/t/load_core.t
b/t/load_core.t
index
77bd5dc
..
ca7cba8
100755
(executable)
--- a/
t/load_core.t
+++ b/
t/load_core.t
@@
-1,6
+1,7
@@
use strict;
use warnings;
-use Test::More 'no_plan';
+
+use Test::More;
use_ok('Devel::REPL');
use_ok('Devel::REPL::Script');
@@
-81,3
+82,5
@@
unless ($@) {
use_ok('Devel::REPL::Plugin::ShowClass');
use_ok('Devel::REPL::Plugin::Timing');
use_ok('Devel::REPL::Plugin::Turtles');
+
+done_testing;
diff --git
a/t/load_plugins.t
b/t/load_plugins.t
index
abed39f
..
6c59e05
100755
(executable)
--- a/
t/load_plugins.t
+++ b/
t/load_plugins.t
@@
-1,11
+1,11
@@
use strict;
use warnings;
+use Test::More;
+
use FindBin qw($Bin);
use lib "$Bin/../t/lib";
-use Test::More 'no_plan';
-
use_ok('Devel::REPL');
my @plugins = qw/
@@
-59,4
+59,5
@@
sub test_load_plugin {
}
}
-1;
+done_testing;
+