X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faggregate%2Funit_core_script_server.t;h=f298fa9a202645a4b51043f64c62800518eca3e3;hb=27dad9301094f25bcedc66c476ec8b9d61521fb7;hp=fce5045cc787e4b7c1f2a8a5e2709b879b27b00c;hpb=44cf11e1c3290bf257704e0c0f898c3275f6e62e;p=catagits%2FCatalyst-Runtime.git diff --git a/t/aggregate/unit_core_script_server.t b/t/aggregate/unit_core_script_server.t index fce5045..f298fa9 100644 --- a/t/aggregate/unit_core_script_server.t +++ b/t/aggregate/unit_core_script_server.t @@ -102,6 +102,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); @@ -151,8 +153,5 @@ sub restartopthash { host => undef, %$opthash, }; - delete $val->{fork}; - delete $val->{background}; - delete $val->{keepalive}; return $val; }