X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Funit_metaclass_compat_non_moose_controller.t;h=8036be418180e558071ddd0a08e7302fc927b999;hb=6e3dd95f237370a2824e5ecc1419eaed075f0279;hp=3b91ef2206b1aed9af17bd15845ffc7ab0776650;hpb=737a1e422e33f1889058373b0b1536b1b8c268db;p=catagits%2FCatalyst-Runtime.git diff --git a/t/aggregate/unit_metaclass_compat_non_moose_controller.t b/t/aggregate/unit_metaclass_compat_non_moose_controller.t index 3b91ef2..8036be4 100644 --- a/t/aggregate/unit_metaclass_compat_non_moose_controller.t +++ b/t/aggregate/unit_metaclass_compat_non_moose_controller.t @@ -2,10 +2,10 @@ use strict; use warnings; use FindBin; -use lib "$FindBin::Bin/lib"; +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';