[ $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'
);