};
{
- 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';
+ 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'
+ );
}
{