use strict; use warnings; use Test::More tests => 1; use HTML::Widget; my $w = HTML::Widget->new; $w->element( 'Textfield', 'foo' )->value(0); $w->element( 'RadioGroup', 'bar' )->values( 0, 1 )->value(0); $w->constraint( 'All', 'foo', 'bar' ); my $f = $w->process(); is( "$f", <
EOF