mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 04:13:07 +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')
|
|||
# Bug 628: task wait: with non-standard dateformat bug
|
||||
|
||||
# Setup: Add a task
|
||||
qx{../src/task rc:bug.rc add wait:\\"Wed Jan 01 2020\\" A buggy task};
|
||||
qx{../src/task rc:bug.rc add wait:\\"Wed Jan 01 2020\\" A buggy task 2>&1};
|
||||
|
||||
# Result: Immediately delete the created task
|
||||
my $output = qx{../src/task rc:bug.rc waiting};
|
||||
my $output = qx{../src/task rc:bug.rc waiting 2>&1};
|
||||
like ($output, qr/1\/1\/2020/ms, 'a b D Y dateformat correctly parsed.');
|
||||
|
||||
# Cleanup.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue