mirror of
https://github.com/nlohmann/json.git
synced 2026-01-31 08:52:10 +00:00
Fix CI (#4160)
This commit is contained in:
@@ -123,8 +123,7 @@ TEST_CASE("JSON pointers")
|
||||
CHECK(j.contains(json::json_pointer("/a~1b")));
|
||||
CHECK(j.contains(json::json_pointer("/m~0n")));
|
||||
|
||||
// unescaped access
|
||||
// access to nonexisting values yield object creation
|
||||
// unescaped access to nonexisting values yield object creation
|
||||
CHECK(!j.contains(json::json_pointer("/a/b")));
|
||||
CHECK_NOTHROW(j[json::json_pointer("/a/b")] = 42);
|
||||
CHECK(j.contains(json::json_pointer("/a/b")));
|
||||
|
||||
Reference in New Issue
Block a user