Unit Tests - t2.t

- Removed two unit tests for data file syntax that is no longer
  supported, namely unquoted values.
    Supported:      status:"pending"
    Not supported:  status:pending
This commit is contained in:
Paul Beckingham 2011-08-13 23:34:14 -04:00
parent fb9e82ed0e
commit eec0abd1e7

View file

@ -35,7 +35,7 @@ Context context;
////////////////////////////////////////////////////////////////////////////////
int main (int argc, char** argv)
{
UnitTest t (20);
UnitTest t (18);
// (blank)
bool good = true;
@ -51,13 +51,6 @@ int main (int argc, char** argv)
catch (std::string& e){t.diag (e); good = false;}
t.notok (good, "Task::Task ('[]')");
// [name:value]
good = true;
try {task = Task ("[name:value]");}
catch (std::string& e){t.diag (e); good = false;}
t.ok (good, "Task::Task ('[name:value]')");
t.is (task.get ("name"), "value", "name=value");
// [name:"value"]
good = true;
try {task = Task ("[name:\"value\"]");}