+
+NEXT
+
+- The test suite now uses Test::Fatal instead of Test::Exception.
+
0.09 2010-10-17
- Added a compilation test, because otherwise all test files could not end up
use strict;
use warnings;
-use Test::Exception;
use Test::More;
+use Test::Fatal;
use Test::Requires {
'Test::Output' => '0.16',
};
{
- throws_ok {
+ like exception {
eval 'package Foo; use Package::DeprecationManager;';
die $@ if $@;
- }
+ },
qr/^\QYou must provide a hash reference -deprecations parameter when importing Package::DeprecationManager/,
'must provide a set of deprecations when using Package::DeprecationManager';
}