mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
- Fixed bug #552, where 'rc.verbose=off' suppressed warnings (thanks to Peter De Poorter). - Fixed bug #863, which suppressed report labels with rc.verbose=off (thanks to Michelle Crane).
This commit is contained in:
parent
45dba8805c
commit
824cba7152
6 changed files with 101 additions and 26 deletions
|
@ -43,7 +43,7 @@ if (open my $fh, '>', 'verbose.rc')
|
|||
my $output = qx{../src/task rc:verbose.rc rc.verbose:new-id add Sample1};
|
||||
like ($output, qr/Created task \d/, '\'new-id\' verbosity good');
|
||||
|
||||
$output = qx{../src/task rc:verbose.rc rc.verbose:off add Sample2};
|
||||
$output = qx{../src/task rc:verbose.rc rc.verbose:nothing add Sample2};
|
||||
unlike ($output, qr/Created task \d/, '\'new-id\' verbosity good');
|
||||
|
||||
# Verbosity: 'label'
|
||||
|
@ -55,7 +55,7 @@ $output = qx{../src/task rc:verbose.rc ls rc.verbose:affected};
|
|||
like ($output, qr/^\d+ tasks$/ms, '\'affected\' verbosity good');
|
||||
|
||||
# Off
|
||||
$output = qx{../src/task rc:verbose.rc ls rc.verbose:off};
|
||||
$output = qx{../src/task rc:verbose.rc ls rc.verbose:nothing};
|
||||
unlike ($output, qr/^\d+ tasks$/ms, '\'affected\' verbosity good');
|
||||
unlike ($output, qr/ID.+Project.+Pri.+Description/, '\'label\' verbosity good');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue