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
|
@ -42,8 +42,8 @@ if (open my $fh, '>', 'bug.rc')
|
|||
# Bug #434: Task shouldn't prevent users from marking as done tasks with status:waiting
|
||||
|
||||
# Add a task that is waiting
|
||||
qx{../src/task rc:bug.rc add One wait:tomorrow};
|
||||
my $output = qx{../src/task rc:bug.rc 1 done};
|
||||
qx{../src/task rc:bug.rc add One wait:tomorrow 2>&1};
|
||||
my $output = qx{../src/task rc:bug.rc 1 done 2>&1};
|
||||
like ($output, qr/Completed 1 task\./, 'Waiting task marked completed');
|
||||
|
||||
# Cleanup.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue