Commit 52e70bc9 authored by Dominik Charousset's avatar Dominik Charousset

Add missing WHEN block

parent 656c6b43
......@@ -84,10 +84,12 @@ CAF_TEST_FIXTURE_SCOPE(config_value_tests, fixture)
SCENARIO("default-constructed config values represent null") {
GIVEN("a default-constructed config value") {
config_value x;
THEN("its type is none and its to_string output is 'null'") {
CHECK(holds_alternative<none_t>(x));
CHECK_EQ(x.type_name(), "none"s);
CHECK_EQ(to_string(x), "null"s);
WHEN("inspecting the config value") {
THEN("its type is none and its to_string output is 'null'") {
CHECK(holds_alternative<none_t>(x));
CHECK_EQ(x.type_name(), "none"s);
CHECK_EQ(to_string(x), "null"s);
}
}
}
}
......
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