mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Dependencies
- Fixed bug in Task::addDependency where a 'dup dep' error string was not properly composed, which cause the error message to be shown as 'k'. - Relocated expression evaluation on modification to only be processed for date attributes. This impacts DOM, but fixes more than it breaks. - Corrected unit test that was expecting an old-style error message. - Added protection against array overrun in next_mod_group. Again.
This commit is contained in:
parent
d1e52c05d6
commit
776bfea402
3 changed files with 21 additions and 18 deletions
|
@ -58,7 +58,7 @@ like ($output, qr/Could not create a dependency on task 99 - not found\./, 'depe
|
|||
|
||||
# [4]
|
||||
$output = qx{../src/task rc:dep.rc 99 modify dep:1};
|
||||
like ($output, qr/Task 99 not found\./, 'dependencies - add dependency to nonexistent task');
|
||||
like ($output, qr/No tasks specified\./, 'dependencies - add dependency to nonexistent task');
|
||||
|
||||
# [5,6] t 1 dep:2; t info 1 => blocked by 2
|
||||
$output = qx{../src/task rc:dep.rc 1 modify dep:2; ../src/task rc:dep.rc info 1};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue