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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user