mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
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:
parent
fb9e82ed0e
commit
eec0abd1e7
1 changed files with 1 additions and 8 deletions
|
@ -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\"]");}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue