X-Git-Url: http://git.shiar.net/perl/html-form-simple.git/blobdiff_plain/be81b5d559a8ed87ee6493f27b698343fada60c4..b01a7f21ade2de12b620970a9e7ae78cbabd95da:/t/html.t diff --git a/t/html.t b/t/html.t index d12d6ef..60e9507 100644 --- a/t/html.t +++ b/t/html.t @@ -119,15 +119,22 @@ is( ); is( - $form->input('', '', {disabled => 0, something => undef, class => undef, style => ''}), + $form->input('', '', { + disabled => 0, + something => undef, + class => undef, + style => '', + name => 'ignore', + value => 'overrides', + }), '', 'input with empty attributes' ); is( - $form->input(undef, undef, {name => 'override', value => 'override'}), - '', - 'ignore input overrides' + $form->input(undef, undef, {name => '0', value => '0'}), + '', + 'input overrides' ); is(