Unit Tests
- Corrected use of rc.fontunderline with the new Views. - Added new sample todo.sh import data, thanks to Daniel Wilcox. - Added rc.defaultwidth to various tests. - Modified tests to accomodate new next report. - Corrected regex in rc.override.t.
This commit is contained in:
@@ -47,8 +47,8 @@ qx{../src/task rc:next.rc add project:B priority:H BH};
|
||||
qx{../src/task rc:next.rc add project:B Bnone};
|
||||
|
||||
my $output = qx{../src/task rc:next.rc next};
|
||||
like ($output, qr/\s1\sA\s+H\s+(?:-|\d secs?)\sAH\n/, 'AH shown');
|
||||
like ($output, qr/\s3\sB\s+H\s+(?:-|\d secs?)\sBH\n/, 'BH shown');
|
||||
like ($output, qr/AH/, 'AH shown');
|
||||
like ($output, qr/BH/, 'BH shown');
|
||||
|
||||
# Cleanup.
|
||||
unlink 'pending.data';
|
||||
|
||||
Reference in New Issue
Block a user