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,7 +41,7 @@ if (open my $fh, '>', 'bug.rc')
|
|||
}
|
||||
|
||||
# Feature 559: rc.exit.on.missing.db should cause exit if rc.data.location is missing.
|
||||
qx{../src/task rc:bug.rc add foo rc.debug:1};
|
||||
qx{../src/task rc:bug.rc add foo rc.debug:1 2>&1};
|
||||
my $output = qx{../src/task rc:bug.rc list 2>&1 >/dev/null};
|
||||
unlike ($output, qr/Error.+does not exist/, 'No error on existant rc.data.location');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue