X-Git-Url: http://git.shiar.nl/perl/html-form-simple.git/blobdiff_plain/884418c3af50c78272263ba1e959d973ef1ec1e4..caa5688f6a17a31ad7c44f5c6b09c5f08dfde390:/t/html.t diff --git a/t/html.t b/t/html.t index 166ab11..a3ac799 100644 --- a/t/html.t +++ b/t/html.t @@ -5,7 +5,7 @@ use warnings; use Test::More; -plan tests => 68; +plan tests => 72; use_ok('HTML::Form::Simple'); @@ -346,6 +346,15 @@ is_deeply( 'multiple radio labels' ); +is_deeply( + [ $form->radio(undef, [0, 1], undef, 0) ], + [ + '', + '', + ], + 'radio default' +); + is_deeply( [ $form->radio(foo => ['foo', ''], 'test', {value => '', id => ''}) ], [