diff options
-rw-r--r-- | t/10-form.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/10-form.t b/t/10-form.t index 5a37480c..ea9eed3d 100644 --- a/t/10-form.t +++ b/t/10-form.t @@ -189,7 +189,7 @@ SKIP: { $form = new Form; $form->{header} = 1; @r = trap{$form->hide_form}; -like($trap->stdout, qr/<input type="hidden" name="action" value="" \/>\n<input type="hidden" name="dbversion" value="\d+\.\d+\.\d+" \/>\n<input type="hidden" name="login" value="" \/>\n<input type="hidden" name="nextsub" value="" \/>\n<input type="hidden" name="path" value="bin\/mozilla" \/>\n<input type="hidden" name="version" value="1.2.5" \/>/, +like($trap->stdout, qr/<input type="hidden" name="action" value="" \/>\n<input type="hidden" name="dbversion" value="\d+\.\d+\.\d+" \/>\n<input type="hidden" name="login" value="" \/>\n<input type="hidden" name="nextsub" value="" \/>\n<input type="hidden" name="path" value="bin\/mozilla" \/>\n<input type="hidden" name="version" value="$form->{version}" \/>/, 'hide_form: base'); ok(!$form->{header}, 'hide_form: header flag cleared'); |