From eec0abd1e7aea49913856905a70b4af2cca21d36 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 13 Aug 2011 23:34:14 -0400 Subject: [PATCH] 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 --- test/t2.t.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/test/t2.t.cpp b/test/t2.t.cpp index acd2ba367..e8292e6ea 100644 --- a/test/t2.t.cpp +++ b/test/t2.t.cpp @@ -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\"]");}