[BACK]Return to text.t CVS log [TXT][DIR] Up to [local] / todotxt / Text-Todo-REST-API / t / formats

Diff for /todotxt/Text-Todo-REST-API/t/formats/text.t between version 1.1 and 1.2

version 1.1, 2010/01/17 19:57:16 version 1.2, 2010/01/17 21:08:55
Line 7 
Line 7 
 #       AUTHOR:  Andrew Fresh (AAF), andrew@cpan.org  #       AUTHOR:  Andrew Fresh (AAF), andrew@cpan.org
 #      COMPANY:  Red River Communications  #      COMPANY:  Red River Communications
 #      CREATED:  01/07/10 19:11  #      CREATED:  01/07/10 19:11
 #     REVISION:  $AFresh1$  #     REVISION:  $AFresh1: text.t,v 1.1 2010/01/17 19:57:16 andrew Exp $
 #===============================================================================  #===============================================================================
   
 use strict;  use strict;
Line 75 
Line 75 
     'Dump method' );      'Dump method' );
 is( $result, $list_dump_should_be, 'Got expected Dump result' );  is( $result, $list_dump_should_be, 'Got expected Dump result' );
 $result = undef;  $result = undef;
   
   foreach my $e ( @{$list_should_be} ) {
       my $api = new_ok(
           $class,
           [   {   basedir   => 't',
                   path_info => '/lists/todo/entry/' . $e->{md5} . '.txt'
               }
           ]
       );
       my $entry;
       ok( $entry = $api->GET(), "get_entry by GET()" );
       is_deeply( $entry, $e->{text} . "\n", 'got correct entry' );
   
   }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>