XXX: test update: option name override should not reset id
[perl/html-form-simple.git] / t / html.t
index a3ac7996e530800210755a21afff19af0f89fe7e..5b3fa2a13600b6a4d136c2ecc69f0c9af305fd95 100644 (file)
--- a/t/html.t
+++ b/t/html.t
@@ -472,7 +472,7 @@ is_deeply(
        [ $form->check(foo => ['bar', {name => 'bar'}], {name => 'ignored'}) ],
        [
                '<label><input id="foo_1" name="foo" type="checkbox" value="1"> bar</label>',
-               '<input id="bar_2" name="bar" type="checkbox" value="2">',
+               '<input id="foo_2" name="bar" type="checkbox" value="2">',
        ],
        'checkbox names'
 );