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:
Paul Beckingham 2010-11-29 08:37:20 -05:00
parent d2fdc10f39
commit 068d85b1f3

View file

@ -55,6 +55,9 @@ int main (int argc, char** argv)
unlink ("./completed.data");
unlink ("./undo.data");
// Set the context to allow GC.
context.config.set ("gc", "on");
// Try reading an empty database.
Filter filter;
std::vector <Task> all;