We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d76fe56 commit 9a629bcCopy full SHA for 9a629bc
src/test_lib_json/main.cpp
@@ -214,6 +214,7 @@ JSONTEST_FIXTURE(ValueTest, objects) {
214
const Json::Value* foundUnknownId = object1_.find(unknownIdKey, unknownIdKey + strlen(unknownIdKey));
215
JSONTEST_ASSERT_EQUAL(nullptr, foundUnknownId);
216
217
+ // Access through demand()
218
const char yetAnotherIdKey[] = "yet another id";
219
const Json::Value* foundYetAnotherId = object1_.find(yetAnotherIdKey, yetAnotherIdKey + strlen(yetAnotherIdKey));
220
JSONTEST_ASSERT_EQUAL(nullptr, foundYetAnotherId);
0 commit comments