started fixing #323
This commit is contained in:
parent
a0ef5a194c
commit
2fa8ea0f74
5 changed files with 101 additions and 15 deletions
|
|
@ -482,4 +482,11 @@ TEST_CASE("regression tests")
|
|||
CHECK_NOTHROW(j << f);
|
||||
}
|
||||
}
|
||||
|
||||
SECTION("issue #323 - add nested object capabilities to pointers")
|
||||
{
|
||||
json j;
|
||||
j["/this/that"_json_pointer] = 27;
|
||||
CHECK(j == json({{"this", {{"that", 27}}}}));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue