From: Karen Etheridge Date: Tue, 26 Mar 2013 16:38:36 +0000 (-0700) Subject: ensure all tests run via done_testing() X-Git-Tag: v1.003016~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3e2f469563a4ab82207ae7861c08eb5f9b2130a8;p=p5sagit%2FDevel-REPL.git ensure all tests run via done_testing() --- diff --git a/Makefile.PL b/Makefile.PL index 82fc4e5..f186872 100644 --- 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 --- 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 --- 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; +