=================================================================== RCS file: /cvs/todotxt/Text-Todo/t/list.t,v retrieving revision 1.5 retrieving revision 1.7 diff -u -r1.5 -r1.7 --- todotxt/Text-Todo/t/list.t 2010/01/09 07:02:35 1.5 +++ todotxt/Text-Todo/t/list.t 2010/01/10 19:29:17 1.7 @@ -8,13 +8,13 @@ # AUTHOR: Andrew Fresh (AAF), andrew@cpan.org # COMPANY: Red River Communications # CREATED: 01/07/10 19:11 -# REVISION: $RedRiver: list.t,v 1.4 2010/01/09 06:54:15 andrew Exp $ +# REVISION: $RedRiver: list.t,v 1.6 2010/01/10 04:28:49 andrew Exp $ #=============================================================================== use strict; use warnings; -use Test::More tests => 47; +use Test::More tests => 49; use File::Temp qw/ tempdir /; use Data::Dumper; @@ -100,9 +100,9 @@ is_deeply( \@projects, [ 'dos', 'uno' ], 'got the projects we expected' ); my $entry_to_archive; -ok( $entry_to_archive = $copy->list->[1], 'read entry_to_archive' ); +ok( $entry_to_archive = $copy->list->[3], 'read entry_to_archive' ); is( $entry_to_archive->text, - 'x completed entry 3', + 'x completed entry 4', 'make sure we got the right entry' ); @@ -127,4 +127,4 @@ is( $done[-2]->text, $entry_to_archive->text, 'make sure it moved to the archive' ); -done_testing(); +#done_testing();