mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-31 17:03:30 +02:00
Unit Tests - next.t
- Tests no longer assume that a set of added tasks will show an age of /-/, and now uses /(:?-|\d secs?)/.
This commit is contained in:
parent
e923282181
commit
ad7abec3d7
1 changed files with 2 additions and 2 deletions
|
@ -47,8 +47,8 @@ qx{../task rc:next.rc add project:B priority:H BH};
|
|||
qx{../task rc:next.rc add project:B Bnone};
|
||||
|
||||
my $output = qx{../task rc:next.rc next};
|
||||
like ($output, qr/\s1\sA\s+H\s+-\sAH\n/, 'AH shown');
|
||||
like ($output, qr/\s3\sB\s+H\s+-\sBH\n/, 'BH shown');
|
||||
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');
|
||||
|
||||
# Cleanup.
|
||||
unlink 'pending.data';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue