[BACK]Return to list.t CVS log [TXT][DIR] Up to [local] / todotxt / Text-Todo / t

Diff for /todotxt/Text-Todo/t/list.t between version 1.15 and 1.16

version 1.15, 2010/02/13 23:26:44 version 1.16, 2010/02/14 06:08:07
Line 8 
Line 8 
 #       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: list.t,v 1.14 2010/01/20 21:15:15 andrew Exp $  #     REVISION:  $AFresh1: list.t,v 1.15 2010/02/13 23:26:44 andrew Exp $
 #===============================================================================  #===============================================================================
   
 use strict;  use strict;
 use warnings;  use warnings;
   
 use Test::More tests => 55;  use Test::More tests => 58;
   
 use File::Temp qw/ tempdir /;  use File::Temp qw/ tempdir /;
 use File::Spec;  use File::Spec;
Line 92 
Line 92 
 is( $copy_list[1]->text, $entry_to_move->text,  is( $copy_list[1]->text, $entry_to_move->text,
     'entry is in the new position' );      'entry is in the new position' );
   
 my @tags;  my $tags;
 ok( @tags = $copy->listtags, 'listtagsfor current list' );  ok( $tags = $copy->known_tags, 'known_tags for current list' );
 is_deeply(  is_deeply(
     \@tags,      $tags,
     [ 'context', 'project' ],      { 'context' => '@', 'project' => '+' },
     'got the projects we expected'      'got the tags we expected'
   );
   
   ok( $copy->learn_tag('due_date', 'DUE:'), "Learn due_date tag" );
   ok( $tags = $copy->known_tags, 'known_tags for current list' );
   is_deeply(
       $tags,
       { 'context' => '@', 'project' => '+', 'due_date' => 'DUE:' },
       'got the tags we expected'
 );  );
   
 my @projects;  my @projects;

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

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