mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Unit Tests
- Prevented the info command from running a GC first, which breaks certain unit tests. - Modified delete.t to test annoation on delete.
This commit is contained in:
parent
d087bdfd38
commit
69e70889be
2 changed files with 19 additions and 3 deletions
|
@ -46,7 +46,13 @@ CmdInfo::CmdInfo ()
|
|||
_usage = "task information <filter>";
|
||||
_description = STRING_CMD_INFO_USAGE;
|
||||
_read_only = true;
|
||||
_displays_id = true;
|
||||
|
||||
// This is inaccurate, but it does prevent a GC. While this doesn't make a
|
||||
// lot of sense, given that the info command shows the ID, it does mimic the
|
||||
// behavior of versions prior to 2.0, which the test suite relies upon.
|
||||
//
|
||||
// One the test suite is completely modified, this can be corrected.
|
||||
_displays_id = false;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue