mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 13:37:20 +02:00
Unit Tests
- Added a context value for gc=1, which otherwise defaults to 0 when the Config object is empty.
This commit is contained in:
parent
d2fdc10f39
commit
068d85b1f3
1 changed files with 3 additions and 0 deletions
|
@ -55,6 +55,9 @@ int main (int argc, char** argv)
|
||||||
unlink ("./completed.data");
|
unlink ("./completed.data");
|
||||||
unlink ("./undo.data");
|
unlink ("./undo.data");
|
||||||
|
|
||||||
|
// Set the context to allow GC.
|
||||||
|
context.config.set ("gc", "on");
|
||||||
|
|
||||||
// Try reading an empty database.
|
// Try reading an empty database.
|
||||||
Filter filter;
|
Filter filter;
|
||||||
std::vector <Task> all;
|
std::vector <Task> all;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue