Changeset 87 in text-formbuilder for trunk/t/Text-FormBuilder.t


Ignore:
Timestamp:
06/29/05 16:02:34 (19 years ago)
Author:
peichman
Message:

added !fb directive to hold FB parameters as YAML serialized values
updated and expanded the documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/Text-FormBuilder.t

    r53 r87  
    66# change 'tests => 1' to 'tests => last_test_to_print'; 
    77 
    8 use Test::More qw(no_plan); #tests => 6; 
     8use Test::More tests => 10; 
    99BEGIN { use_ok('Text::FormBuilder'); }; 
    1010 
     
    3939is(keys %{ $form->fields }, 3, 'correct number of fields'); 
    4040 
    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; 
     41my $p2 = Text::FormBuilder->parse_array([qw(code title semester instructor)]); 
     42is(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.