~ubuntu-branches/ubuntu/trusty/libhtml-formhandler-perl/trusty

« back to all changes in this revision

Viewing changes to xt/submit.t

  • Committer: Package Import Robot
  • Author(s): gregor herrmann
  • Date: 2012-06-08 21:31:59 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20120608213159-iyuqkdk5gjkiwedt
Tags: 0.40011-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
use_ok( 'HTML::FormHandler::Field::Submit' );
7
7
 
8
8
my $field = HTML::FormHandler::Field::Submit->new(name => 'submit');
 
9
$field->build_result;
9
10
is( $field->value, 'Save', 'get right value');
10
11
ok( $field->result, 'returns result');
11
12