Unit Tests

- Fixed bug in test that caused an inconsistent sample task to be parsed.
This commit is contained in:
Paul Beckingham 2011-09-06 23:20:56 -04:00
parent 2ab11655db
commit 0da3e12e36

View file

@ -67,7 +67,7 @@ int main (int argc, char** argv)
t.is ((int) synch_key.size (), 0, "TDB2 Read empty synch_key"); t.is ((int) synch_key.size (), 0, "TDB2 Read empty synch_key");
// Add a task. // Add a task.
Task task ("[name:\"value\"]"); Task task ("[description:\"description\" name:\"value\"]");
context.tdb2.add (task); context.tdb2.add (task);
pending = context.tdb2.pending.get_tasks (); pending = context.tdb2.pending.get_tasks ();