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

Function JSONCONS_CATCH

test/corelib/src/json_object_tests.cpp:96–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 CHECK(s == "{}");
95 }
96 JSONCONS_CATCH (const std::out_of_range& e)
97 {
98 CHECK(e.what() == std::string("Key not found: 'empty'"));
99 }
100 }
101#ifdef __cpp_char8_t
102 SECTION("Chinese characters as u8string")

Callers

nothing calls this directly

Calls 1

whatMethod · 0.45

Tested by

no test coverage detected