add Test::Exception to deps (RT #34256). move testing modules to test_requires().
Brian Cassidy [Thu, 8 May 2008 15:44:24 +0000 (15:44 +0000)]
Changes
Makefile.PL

diff --git a/Changes b/Changes
index 963dc0b..9d3f8cf 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,6 @@
 Revision history for DBIx::Class
 
+        - add Test::Exception to test requirements (RT #34256)
         - make ash's build_requires/META.yml fixes work better
         - is_deferable support on relations used by the SQL::Translator
           parser
index c36ad9d..a98fe9f 100644 (file)
@@ -28,10 +28,11 @@ requires 'Path::Class'               => 0;
 # Perl 5.8.0 doesn't have utf8::is_utf8()
 requires 'Encode'                    => 0 if ($] <= 5.008000);  
 
-build_requires 'DBD::SQLite'         => 1.13;
-build_requires 'Test::Builder'       => 0.33;
-build_requires 'Test::Warn'          => 0.08;
-build_requires 'Test::NoWarnings'    => 0.08;
+test_requires 'DBD::SQLite'         => 1.13;
+test_requires 'Test::Builder'       => 0.33;
+test_requires 'Test::Warn'          => 0.08;
+test_requires 'Test::NoWarnings'    => 0.08;
+test_requires 'Test::Exception'     => 0;
 
 install_script 'script/dbicadmin';