Commit ff4c3f92 authored by Dominik Charousset's avatar Dominik Charousset

Remove debug code, fix formatting

parent 2309bc22
......@@ -84,7 +84,7 @@ CAF_TEST(lookup) {
}
CAF_TEST(parse with ref syncing) {
using ls = vector<string>; // list of strings
using ls = vector<string>; // list of strings
using ds = dictionary<string>; // dictionary of strings
auto foo_i = 0;
auto foo_f = 0.f;
......@@ -240,7 +240,6 @@ CAF_TEST(CLI arguments may use custom types) {
settings cfg;
opts.add<foobar>("global", "foobar,f", "test option");
CAF_CHECK_EQUAL(read<foobar>(cfg, {"-f{foo=\"hello\",bar=\"world\"}"}), none);
CAF_MESSAGE("CFG: "<<cfg);
auto fb = get_if<foobar>(&cfg, "foobar");
if (CAF_CHECK(fb))
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