Make style consistent with rest of code.
This commit is contained in:
parent
c9f1a1ec0a
commit
d864232b29
@ -188,17 +188,17 @@ TEST_CASE("Better diagnostics")
|
|||||||
|
|
||||||
SECTION("Regression test for issue #3007 - Parent pointers properly set when using update()")
|
SECTION("Regression test for issue #3007 - Parent pointers properly set when using update()")
|
||||||
{
|
{
|
||||||
json j = json::object();
|
json j = json::object();
|
||||||
|
|
||||||
{
|
{
|
||||||
json j2 = json::object();
|
json j2 = json::object();
|
||||||
j2["one"] = 1;
|
j2["one"] = 1;
|
||||||
|
|
||||||
j.update(j2);
|
j.update(j2);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto const & kv : j) {
|
for (auto const & kv : j) {
|
||||||
CHECK(kv.m_parent == &j);
|
CHECK(kv.m_parent == &j);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user