mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-23 14:36:44 +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,11 +41,11 @@ if (open my $fh, '>', 'bug.rc')
|
|||
# Bug 694: Potential bug for "due" and "annotate"
|
||||
|
||||
# Setup: Add a tasks, annotate with long word.
|
||||
qx{../src/task rc:bug.rc add One};
|
||||
qx{../src/task rc:bug.rc 1 annotate foo due:today};
|
||||
qx{../src/task rc:bug.rc add One 2>&1};
|
||||
qx{../src/task rc:bug.rc 1 annotate foo due:today 2>&1};
|
||||
|
||||
# List with rc.hyphenate=on.
|
||||
my $output = qx{../src/task rc:bug.rc 1 info};
|
||||
my $output = qx{../src/task rc:bug.rc 1 info 2>&1};
|
||||
like ($output, qr/One/, 'found One');
|
||||
like ($output, qr/foo/, 'found foo');
|
||||
like ($output, qr/Due/, 'found Due');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue