XXX: test update: option name override should not reset id
authorMischa POSLAWSKY <perl@shiar.org>
Sun, 19 Oct 2008 14:33:04 +0000 (14:33 +0000)
committerMischa POSLAWSKY <perl@shiar.org>
Sun, 19 Oct 2008 14:33:04 +0000 (14:33 +0000)
t/html.t

index a3ac799..5b3fa2a 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'
 );