mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Unit Tests
- Modified testing to accomodate new split between stdout/stderr.
This commit is contained in:
parent
75822eed47
commit
da575c4043
185 changed files with 1591 additions and 1591 deletions
|
@ -43,10 +43,10 @@ if (open my $fh, '>', 'bug.rc')
|
|||
# marked completed
|
||||
|
||||
# Setup: Add a recurring task
|
||||
qx{../src/task rc:bug.rc add Test due:3d rec:1w};
|
||||
qx{../src/task rc:bug.rc add Test due:3d rec:1w 2>&1};
|
||||
|
||||
# Result: Immediately delete the created task
|
||||
my $output = qx{../src/task rc:bug.rc 1 done};
|
||||
my $output = qx{../src/task rc:bug.rc 1 done 2>&1};
|
||||
like ($output, qr/is neither pending nor waiting/, 'Parent task not completable');
|
||||
unlike ($output, qr/Completed 1/ms, 'New recurring task cannot be immediately completed.');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue