use FindBin;
use lib "$FindBin::Bin/lib";
-use Test::More tests => 140;
+use Test::More tests => 153;
use Test::Deep;
use Cwd;
$results->{upload}->{$field}->{tempname} = ignore();
}
}
-
+
cmp_deeply( $body->body, $results->{body}, "$test MultiPart body" );
cmp_deeply( $body->param, $results->{param}, "$test MultiPart param" );
+ cmp_deeply( $body->param_order, $results->{param_order} ? $results->{param_order} : [], "$test MultiPart param_order" );
cmp_deeply( $body->upload, $results->{upload}, "$test MultiPart upload" )
if $results->{upload};
cmp_ok( $body->state, 'eq', 'done', "$test MultiPart state" );
for my $temp ( @temps ) {
ok( !-e $temp, "Temp file $temp was deleted" );
}
+
}