version 1.2, 2009/07/11 16:58:13 |
version 1.3, 2009/07/13 18:50:37 |
|
|
# AUTHOR: Andrew Fresh (AAF), andrew@cpan.org |
# AUTHOR: Andrew Fresh (AAF), andrew@cpan.org |
# COMPANY: Red River Communications |
# COMPANY: Red River Communications |
# CREATED: 07/10/09 11:32:39 |
# CREATED: 07/10/09 11:32:39 |
# REVISION: $RedRiver: 20.entry.t,v 1.1 2009/07/10 22:26:14 andrew Exp $ |
# REVISION: $RedRiver: 20.entry.t,v 1.2 2009/07/11 15:58:13 andrew Exp $ |
#=============================================================================== |
#=============================================================================== |
|
|
use strict; |
use strict; |
|
|
is_deeply( [ $e->projects ], [], "check projects are empty" ); |
is_deeply( [ $e->projects ], [], "check projects are empty" ); |
|
|
my %sample = ( |
my %sample = ( |
text => '(B) @home @work keep your shoulder to the grindstone +busywork', |
text => '(B) @home @work send email to andrew@cpan.org +say_thanks', |
priority => 'B', |
priority => 'B', |
contexts => [ 'home', 'work' ], |
contexts => [ 'home', 'work' ], |
projects => ['busywork'], |
projects => ['say_thanks'], |
prepend => 'before', |
prepend => 'before', |
append => 'or something', |
append => 'or something', |
new_project => 'notnapping', |
new_project => 'notnapping', |