Commit ff4c3f92 authored by Dominik Charousset's avatar Dominik Charousset

Remove debug code, fix formatting

parent 2309bc22
...@@ -240,7 +240,6 @@ CAF_TEST(CLI arguments may use custom types) { ...@@ -240,7 +240,6 @@ CAF_TEST(CLI arguments may use custom types) {
settings cfg; settings cfg;
opts.add<foobar>("global", "foobar,f", "test option"); opts.add<foobar>("global", "foobar,f", "test option");
CAF_CHECK_EQUAL(read<foobar>(cfg, {"-f{foo=\"hello\",bar=\"world\"}"}), none); CAF_CHECK_EQUAL(read<foobar>(cfg, {"-f{foo=\"hello\",bar=\"world\"}"}), none);
CAF_MESSAGE("CFG: "<<cfg);
auto fb = get_if<foobar>(&cfg, "foobar"); auto fb = get_if<foobar>(&cfg, "foobar");
if (CAF_CHECK(fb)) if (CAF_CHECK(fb))
CAF_CHECK_EQUAL(*fb, foobar("hello", "world")); CAF_CHECK_EQUAL(*fb, foobar("hello", "world"));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment