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_server.t;fp=t%2Faggregate%2Funit_core_script_server.t;h=0623cfe114120d7213f29293fc65dc7c49173d89;hp=b9ad60b8e546fe4b48ac59c456a7916b440123af;hb=b17bc48c698f981642d6f31beaa6bd88f4b279ac;hpb=f5325631094cfb10ea022612bdfa9d32772bcb24 diff --git a/t/aggregate/unit_core_script_server.t b/t/aggregate/unit_core_script_server.t index b9ad60b..0623cfe 100644 --- a/t/aggregate/unit_core_script_server.t +++ b/t/aggregate/unit_core_script_server.t @@ -89,6 +89,8 @@ sub testOption { }; # First element of RUN_ARGS will be the script name, which we don't care about shift @TestAppToTestScripts::RUN_ARGS; + my $server = pop @TestAppToTestScripts::RUN_ARGS; + like ref($server), qr/^Plack::Handler/, 'Is a Plack::Handler'; # Mangle argv into the options.. $resultarray->[-1]->{argv} = $argstring; is_deeply \@TestAppToTestScripts::RUN_ARGS, $resultarray, "is_deeply comparison " . join(' ', @$argstring);