- Timestamp:
- 11/09/04 12:47:12 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/t/Text-FormBuilder.t
r9 r19 6 6 # change 'tests => 1' to 'tests => last_test_to_print'; 7 7 8 use Test::More tests => 4;8 use Test::More tests => 6; 9 9 BEGIN { use_ok('Text::FormBuilder'); }; 10 10 … … 16 16 my $p = Text::FormBuilder->new; 17 17 isa_ok($p, 'Text::FormBuilder', 'new parser'); 18 isa_ok($p->parse_text('')->build->form, 'CGI::FormBuilder', 'generated CGI::FormBuilder object'); 18 isa_ok($p->parse_text('')->build->form, 'CGI::FormBuilder', 'generated CGI::FormBuilder object (build->form)'); 19 isa_ok($p->parse_text('')->form, 'CGI::FormBuilder', 'generated CGI::FormBuilder object (form)'); 19 20 20 my $p2 = Text::FormBuilder->parse_text(''); 21 isa_ok($p2, 'Text::FormBuilder', 'new parser (from parse_text as class method)'); 21 $p = Text::FormBuilder->parse_text(''); 22 isa_ok($p, 'Text::FormBuilder', 'new parser (from parse_text as class method)'); 23 24 $p = Text::FormBuilder->parse(\''); 25 isa_ok($p, 'Text::FormBuilder', 'new parser (from parse as class method)'); 26
Note: See TracChangeset
for help on using the changeset viewer.