X-Git-Url: http://git.shiar.net/gitweb.cgi/perl/html-form-simple.git/blobdiff_plain/6bef855dc6c753640512d512e5b31e2734484382..d74d61d638a9f0c83f3860de02225c16309ccf2d:/t/html.t
diff --git a/t/html.t b/t/html.t
index 8ab4806..3c6d8f4 100644
--- a/t/html.t
+++ b/t/html.t
@@ -5,7 +5,7 @@ use warnings;
use Test::More;
-plan tests => 52;
+plan tests => 53;
use_ok('HTML::Form::Simple');
@@ -58,6 +58,15 @@ is(
'hidden options'
);
+is_deeply(
+ [ $form->hidden({2 => 0, 10 => 1}, {class => 'test'}) ],
+ [
+ '',
+ '',
+ ],
+ 'hidden hash'
+);
+
# submit
is(