| 57 | } |
| 58 | |
| 59 | void check_replace(json& example, const std::string& path, const json& value, const json& expected) |
| 60 | { |
| 61 | std::error_code ec; |
| 62 | jsonpointer::replace(example, path, value, ec); |
| 63 | CHECK_FALSE(ec); |
| 64 | CHECK(expected == example); |
| 65 | } |
| 66 | |
| 67 | void check_remove(json& example, const std::string& path, const json& expected) |
| 68 | { |
no test coverage detected