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:
@@ -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\"]");}
|
||||
|
||||
Reference in New Issue
Block a user