X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Faggregate%2Funit_metaclass_compat_non_moose_controller.t;h=8036be418180e558071ddd0a08e7302fc927b999;hp=1672a18c8171a47b53471a2c82aa28d1b61a27c8;hb=2a56ace924b296189e0bf5864d6a3b92809fef66;hpb=5a4ce75eb7c71dc6d3190a2377d4aef3abd10c78 diff --git a/t/aggregate/unit_metaclass_compat_non_moose_controller.t b/t/aggregate/unit_metaclass_compat_non_moose_controller.t index 1672a18..8036be4 100644 --- a/t/aggregate/unit_metaclass_compat_non_moose_controller.t +++ b/t/aggregate/unit_metaclass_compat_non_moose_controller.t @@ -5,7 +5,7 @@ use FindBin; use lib "$FindBin::Bin/../lib"; use Test::More tests => 1; -use Test::Exception; +use Test::Fatal; use TestAppNonMooseController; # Metaclass init order causes fail. @@ -13,7 +13,7 @@ use TestAppNonMooseController; # f2391d17574eff81d911b97be15ea51080500003 # after which the evil kludge in core can die in a fire. -lives_ok { +is exception { TestAppNonMooseController::ControllerBase->get_action_methods -} 'Base class->get_action_methods ok when sub class initialized first'; +}, undef, 'Base class->get_action_methods ok when sub class initialized first';