X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F05urlencoded.t;h=8654b006b5471c22a64ad5aca099cdb695ffc806;hb=08160cca69ee960a312c88410dd5c5b3b376a577;hp=f92a9b6c8afa83af0aba96e4aa17107f3020ffc7;hpb=e0c37f8e56e19ce6a767ced61f8300891da095ff;p=catagits%2FHTTP-Body.git diff --git a/t/05urlencoded.t b/t/05urlencoded.t index f92a9b6..8654b00 100644 --- a/t/05urlencoded.t +++ b/t/05urlencoded.t @@ -6,7 +6,7 @@ use warnings; use FindBin; use lib "$FindBin::Bin/lib"; -use Test::More tests => 31; +use Test::More tests => 37; use Cwd; use Digest::MD5 qw(md5_hex); @@ -33,6 +33,7 @@ for ( my $i = 1; $i <= 6; $i++ ) { is_deeply( $body->body, $results->{body}, "$test UrlEncoded body" ); is_deeply( $body->param, $results->{param}, "$test UrlEncoded param" ); + is_deeply( $body->param_order, $results->{param_order} ? $results->{param_order} : [], "$test UrlEncoded param_order" ); is_deeply( $body->upload, $results->{upload}, "$test UrlEncoded upload" ); cmp_ok( $body->state, 'eq', 'done', "$test UrlEncoded state" ); cmp_ok( $body->length, '==', $body->content_length, "$test UrlEncoded length" );