MCPcopy Create free account
hub / github.com/danielaparker/jsoncons / check_remove

Function check_remove

test/jsonpointer/src/jsonpointer_tests.cpp:67–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void check_remove(json& example, const std::string& path, const json& expected)
68{
69 std::error_code ec;
70 jsonpointer::remove(example, path, ec);
71 CHECK_FALSE(ec);
72 CHECK(expected == example);
73}
74
75TEST_CASE("get_with_const_ref_test")
76{

Callers 1

Calls 1

removeFunction · 0.50

Tested by

no test coverage detected