X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Funit_core_script_cgi.t;h=697f2ad4147892bb9aeb91f782bd6dd62d8f3ded;hb=d42e2887f057321d1e65aaffb7ee822d9c1525f3;hp=ba187e19f6e70df5f1286190feebedf9537474a3;hpb=4f0612fdbc3922b6b32f9f30269849a51995b4f3;p=catagits%2FCatalyst-Runtime.git diff --git a/t/aggregate/unit_core_script_cgi.t b/t/aggregate/unit_core_script_cgi.t index ba187e1..697f2ad 100644 --- a/t/aggregate/unit_core_script_cgi.t +++ b/t/aggregate/unit_core_script_cgi.t @@ -15,6 +15,10 @@ lives_ok { Catalyst::Script::CGI->new_with_options(application_name => 'TestAppToTestScripts')->run; } "new_with_options"; shift @TestAppToTestScripts::RUN_ARGS; -is_deeply \@TestAppToTestScripts::RUN_ARGS, [], "no args"; +my $server = pop @TestAppToTestScripts::RUN_ARGS; +like ref($server), qr/^Plack::Handler/, 'Is a Plack::Handler'; +is ref(delete($TestAppToTestScripts::RUN_ARGS[0]->{argv})), 'ARRAY'; +is ref(delete($TestAppToTestScripts::RUN_ARGS[0]->{extra_argv})), 'ARRAY'; +is_deeply \@TestAppToTestScripts::RUN_ARGS, [{}], "no args"; done_testing;