Bug #839
- Fixed bug #839, which caused problems when recurrence frequencies of '1m' were used. This is an obsolete form, and should now be '1mo' (thanks to Gour D).
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use Test::More tests => 4;
|
||||
use Test::More tests => 5;
|
||||
|
||||
# Create the rc file.
|
||||
if (open my $fh, '>', 'bug.rc')
|
||||
@@ -46,6 +46,7 @@ if (open my $fh, '>', 'pending.data')
|
||||
}
|
||||
|
||||
my $output = qx{../src/task rc:bug.rc list};
|
||||
like ($output, qr/One/, 'task listed');
|
||||
unlike ($output, qr/The recurrence value '1m' is not valid\./, 'recu:1m => no error');
|
||||
|
||||
# Cleanup.
|
||||
|
||||
Reference in New Issue
Block a user