use Test::Fatal instead of Test::Exception. Since Test::Exception have a XS deps.
Tokuhiro Matsuno [Mon, 21 Nov 2011 23:58:36 +0000 (08:58 +0900)]
Makefile.PL
t/lib/TestSession.pm
t/lib/TestSessionHash.pm

index c005d84..7167c77 100644 (file)
@@ -15,7 +15,7 @@ requires 'Digest::SHA1'      => '0';
 # things the tests need
 build_requires 'Test::More' => '0.88';
 build_requires 'Test::Requires' => '0';
-test_requires 'Test::Exception';
+test_requires 'Test::Fatal';
 
 tests_recursive;
 auto_install;
index c0596d4..ab234aa 100644 (file)
@@ -3,7 +3,7 @@ use strict;
 use warnings;
 
 use Test::More;
-use Test::Exception;
+use Test::Fatal qw(lives_ok);
 use Plack::Middleware::Session;
 use Plack::Session;
 
index 4573134..31ffbec 100644 (file)
@@ -3,7 +3,7 @@ use strict;
 use warnings;
 
 use Test::More;
-use Test::Exception;
+use Test::Fatal qw(lives_ok);
 use Plack::Middleware::Session;
 
 sub create_session {