X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Faggregate%2Funit_core_script_cgi.t;h=6a36dbc744b97e889ef7da4c190ccf7ab6ce21f9;hp=697f2ad4147892bb9aeb91f782bd6dd62d8f3ded;hb=2a56ace924b296189e0bf5864d6a3b92809fef66;hpb=aee7cdcc0b2b3b7dc672b4b4a31b8c3b7ef3f1f7 diff --git a/t/aggregate/unit_core_script_cgi.t b/t/aggregate/unit_core_script_cgi.t index 697f2ad..6a36dbc 100644 --- a/t/aggregate/unit_core_script_cgi.t +++ b/t/aggregate/unit_core_script_cgi.t @@ -6,14 +6,14 @@ use FindBin qw/$Bin/; use lib "$Bin/../lib"; use Test::More; -use Test::Exception; +use Test::Fatal; use Catalyst::Script::CGI; local @ARGV; -lives_ok { +is exception { Catalyst::Script::CGI->new_with_options(application_name => 'TestAppToTestScripts')->run; -} "new_with_options"; +}, undef, "new_with_options"; shift @TestAppToTestScripts::RUN_ARGS; my $server = pop @TestAppToTestScripts::RUN_ARGS; like ref($server), qr/^Plack::Handler/, 'Is a Plack::Handler';