Changeset 87 in text-formbuilder for trunk/t/Text-FormBuilder.t
- Timestamp:
- 06/29/05 16:02:34 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/t/Text-FormBuilder.t
r53 r87 6 6 # change 'tests => 1' to 'tests => last_test_to_print'; 7 7 8 use Test::More qw(no_plan); #tests => 6;8 use Test::More tests => 10; 9 9 BEGIN { use_ok('Text::FormBuilder'); }; 10 10 … … 39 39 is(keys %{ $form->fields }, 3, 'correct number of fields'); 40 40 41 ##my $p2 = Text::FormBuilder->parse_array([qw(code title semester instructor)]);42 ##is(keys %{ $p2->form->fields }, 4, 'correct number of fields from parse_array');43 # #$p2->write;41 my $p2 = Text::FormBuilder->parse_array([qw(code title semester instructor)]); 42 is(keys %{ $p2->form->fields }, 4, 'correct number of fields from parse_array'); 43 #$p2->write;
Note: See TracChangeset
for help on using the changeset viewer.