use Test::More;
-plan tests => 52;
+plan tests => 53;
use_ok('HTML::Form::Simple');
'hidden options'
);
+is_deeply(
+ [ $form->hidden({2 => 0, 10 => 1}, {class => 'test'}) ],
+ [
+ '<input class="test" name="10" type="hidden" value="1">',
+ '<input class="test" name="2" type="hidden" value="0">',
+ ],
+ 'hidden hash'
+);
+
# submit
is(