diff options
Diffstat (limited to 't/10-form.t')
-rw-r--r-- | t/10-form.t | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/10-form.t b/t/10-form.t index 68b5e264..6c170a80 100644 --- a/t/10-form.t +++ b/t/10-form.t @@ -411,3 +411,7 @@ is($form->sort_order($aryref, {name => 0, projectnumber => 3, startdate => 1}), $form = new Form; @r = trap{$form->print_button({'pear' => {'key' => 'P', 'value' => 'Pears'}}, 'pear')}; is($trap->stdout, "<button class=\"submit\" type=\"submit\" name=\"action\" value=\"pear\" accesskey=\"P\" title=\"Pears [Alt-P]\">Pears</button>\n", 'print_button'); + +## $form->like checks +$form = new Form; +is($form->like('hello world'), '%hello world%', 'like'); |