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,10 +41,10 @@ if (open my $fh, '>', 'export.rc')
|
|||
|
||||
# Add two tasks, export, examine result.
|
||||
# TODO Add annotations.
|
||||
qx{../src/task rc:export.rc add priority:H project:A one};
|
||||
qx{../src/task rc:export.rc add +tag1 +tag2 two};
|
||||
qx{../src/task rc:export.rc add priority:H project:A one 2>&1};
|
||||
qx{../src/task rc:export.rc add +tag1 +tag2 two 2>&1};
|
||||
|
||||
my $output = qx{../src/task rc:export.rc export | ../scripts/add-ons/export-yaml.pl > ./export.txt};
|
||||
my $output = qx{../src/task rc:export.rc export | ../scripts/add-ons/export-yaml.pl > ./export.txt 2>&1};
|
||||
my @lines;
|
||||
if (open my $fh, '<', './export.txt')
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue