5 2_fill_13_password.t - Test CGI::Ex::Fill's ability to not fill passwords
10 use Test::More tests => 3;
12 use_ok('CGI::Ex::Fill');
15 my $html = qq{<input type="password" name="foo">};
16 my $q = {foo => 'bar'};
18 my $output = CGI::Ex::Fill::form_fill($html, $q, undef, 0);
19 ok($output !~ /value="bar"/);
21 $output = CGI::Ex::Fill::form_fill($html, $q, undef);
22 ok($output =~ /value="bar"/);