=================================================================== RCS file: /cvs/todotxt/Text-Todo/t/read_todo.t,v retrieving revision 1.7 retrieving revision 1.10 diff -u -r1.7 -r1.10 --- todotxt/Text-Todo/t/read_todo.t 2010/01/11 01:20:09 1.7 +++ todotxt/Text-Todo/t/read_todo.t 2010/01/18 00:19:55 1.10 @@ -8,7 +8,7 @@ # AUTHOR: Andrew Fresh (AAF), andrew@cpan.org # COMPANY: Red River Communications # CREATED: 07/09/09 11:45:52 -# REVISION: $RedRiver: read_todo.t,v 1.6 2010/01/11 01:08:35 andrew Exp $ +# REVISION: $AFresh1: read_todo.t,v 1.9 2010/01/15 19:44:32 andrew Exp $ #=============================================================================== use strict; @@ -83,7 +83,7 @@ done => undef, ); -BEGIN: { use_ok( 'Text::Todo', 'use Text::Todo' ) } +BEGIN { use_ok( 'Text::Todo', 'use Text::Todo' ) } diag("Testing read Text::Todo $Text::Todo::VERSION"); @@ -97,7 +97,7 @@ ok( $todo->save($dup_todo_file), "Save to tempfile" ); -my $dup_todo = new_ok( 'Text::Todo' => [$dup_todo_file], 'New todo' ); +my $dup_todo = new_ok( 'Text::Todo' => [{ todo_file => $dup_todo_file }], 'New todo' ); ok( $todo->load($todo_file), "Load file [$todo_file]" );