mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 00:43:07 +02:00
Unit Tests
- Typo in test (thanks to Jakub Wilk).
This commit is contained in:
parent
bf0ef119e7
commit
9eaac5ccd5
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,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 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');
|
||||
unlike ($output, qr/Error.+does not exist/, 'No error on existent rc.data.location');
|
||||
|
||||
$output = qx{../src/task rc:bug.rc rc.data.location=donkey list 2>&1 >/dev/null};
|
||||
like ($output, qr/Error.+does not exist/, 'Error on missing rc.data.location');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue