X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F07xforms.t;h=fdf6587026ea73143d1711d96a4c919df6bc31c9;hb=08160cca69ee960a312c88410dd5c5b3b376a577;hp=382cead25045305a1d1028274ff47986fc85fbf2;hpb=e0c37f8e56e19ce6a767ced61f8300891da095ff;p=catagits%2FHTTP-Body.git diff --git a/t/07xforms.t b/t/07xforms.t index 382cead..fdf6587 100644 --- a/t/07xforms.t +++ b/t/07xforms.t @@ -6,7 +6,7 @@ use warnings; use FindBin; use lib "$FindBin::Bin/lib"; -use Test::More tests => 12; +use Test::More tests => 14; use Cwd; use HTTP::Body; @@ -44,6 +44,7 @@ for ( my $i = 1; $i <= 2; $i++ ) { is_deeply( $body->body, $results->{body}, "$test XForms body" ); is_deeply( $body->param, $results->{param}, "$test XForms param" ); + is_deeply( $body->param_order, $results->{param_order} ? $results->{param_order} : [], "$test XForms param_order" ); is_deeply( $body->upload, $results->{upload}, "$test XForms upload" ); if ( $body->isa('HTTP::Body::XFormsMultipart') ) { cmp_ok( $body->start, 'eq', $results->{start}, "$test XForms start" );