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
|
@ -41,8 +41,8 @@ if (open my $fh, '>', 'bug.rc')
|
|||
}
|
||||
|
||||
# Setup: Add a recurring task, generate an instance, then add a project.
|
||||
qx{../src/task rc:bug.rc add foo due:today recur:daily until:eom};
|
||||
my $output = qx{../src/task rc:bug.rc info 1};
|
||||
qx{../src/task rc:bug.rc add foo due:today recur:daily until:eom 2>&1};
|
||||
my $output = qx{../src/task rc:bug.rc info 1 2>&1};
|
||||
|
||||
# Result: Make sure the 'until' date is rendered as a date, not an epoch.
|
||||
unlike ($output, qr/Until\s+\d{10}/, 'until is not shown as an epoch');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue