From: Karen Etheridge Date: Tue, 26 Mar 2013 16:40:07 +0000 (-0700) Subject: add warnings tests X-Git-Tag: v1.003016~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=aca34787762c57dcffa3ac918f7980a5bc5316e0;p=p5sagit%2FDevel-REPL.git add warnings tests --- diff --git a/Makefile.PL b/Makefile.PL index f186872..45a4ed7 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -74,6 +74,7 @@ feature 'Refresh plugin - automatically reload libraries with Module::Refresh', 'Module::Refresh' => 0; test_requires 'Test::More' => '0.88'; +test_requires 'Test::Warnings'; auto_install; WriteAll; diff --git a/t/load_core.t b/t/load_core.t index ca7cba8..e0008b4 100755 --- a/t/load_core.t +++ b/t/load_core.t @@ -2,6 +2,7 @@ use strict; use warnings; use Test::More; +use Test::Warnings; use_ok('Devel::REPL'); use_ok('Devel::REPL::Script'); diff --git a/t/load_plugins.t b/t/load_plugins.t index a2129e9..84ec53a 100755 --- a/t/load_plugins.t +++ b/t/load_plugins.t @@ -2,6 +2,7 @@ use strict; use warnings; use Test::More; +use Test::Warnings; use_ok('Devel::REPL');