mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Cmake:
- adapted makefile and unit tests to new place of test dir
This commit is contained in:
parent
17ef077e27
commit
5d775fdc3e
176 changed files with 1288 additions and 1287 deletions
|
@ -45,15 +45,15 @@ if (open my $fh, '>', 'special.rc')
|
|||
}
|
||||
|
||||
# Prove that +nocolor suppresses all color for a task.
|
||||
qx{../task rc:special.rc add should have no red +nocolor priority:H};
|
||||
qx{../task rc:special.rc add should be red +nonag};
|
||||
my $output = qx{../task rc:special.rc ls};
|
||||
qx{../src/task rc:special.rc add should have no red +nocolor priority:H};
|
||||
qx{../src/task rc:special.rc add should be red +nonag};
|
||||
my $output = qx{../src/task rc:special.rc ls};
|
||||
like ($output, qr/\s1\s+H\s+should have no red/, 'no red in first task due to +nocolor');
|
||||
like ($output, qr/\033\[31mshould be red\s+\033\[0m/, 'red in second task');
|
||||
|
||||
# Prove that +nonag suppresses nagging when a low priority task is completed
|
||||
# ahead of a high priority one.
|
||||
$output = qx{../task rc:special.rc done 2};
|
||||
$output = qx{../src/task rc:special.rc done 2};
|
||||
unlike ($output, qr/NAG/, '+nonag suppressed nagging for task 2');
|
||||
|
||||
# Cleanup.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue