mirror of
https://github.com/nlohmann/json.git
synced 2026-10-10 00:17:13 +00:00
Fix CI (#4160)
This commit is contained in:
1 parent
5fec803493
commit
1ce29fa22f
16 files changed
+88
-42
No files matched your search
@@ -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