version 1.9, 2010/01/15 19:44:32 |
version 1.10, 2010/01/18 00:19:55 |
|
|
# AUTHOR: Andrew Fresh (AAF), andrew@cpan.org |
# AUTHOR: Andrew Fresh (AAF), andrew@cpan.org |
# COMPANY: Red River Communications |
# COMPANY: Red River Communications |
# CREATED: 07/09/09 11:45:52 |
# CREATED: 07/09/09 11:45:52 |
# REVISION: $AFresh1: read_todo.t,v 1.8 2010/01/11 19:52:06 andrew Exp $ |
# REVISION: $AFresh1: read_todo.t,v 1.9 2010/01/15 19:44:32 andrew Exp $ |
#=============================================================================== |
#=============================================================================== |
|
|
use strict; |
use strict; |
|
|
|
|
ok( $todo->save($dup_todo_file), "Save to tempfile" ); |
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]" ); |
ok( $todo->load($todo_file), "Load file [$todo_file]" ); |
|
|