From 9a629bc5e1fd00f959316afa2ceb3575e8f3ea5e Mon Sep 17 00:00:00 2001 From: Frank Richter Date: Sat, 23 Mar 2019 14:39:59 +0100 Subject: [PATCH] tests: Add a comment --- src/test_lib_json/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test_lib_json/main.cpp b/src/test_lib_json/main.cpp index 1a337bc..280f7ea 100644 --- a/src/test_lib_json/main.cpp +++ b/src/test_lib_json/main.cpp @@ -214,6 +214,7 @@ JSONTEST_FIXTURE(ValueTest, objects) { const Json::Value* foundUnknownId = object1_.find(unknownIdKey, unknownIdKey + strlen(unknownIdKey)); JSONTEST_ASSERT_EQUAL(nullptr, foundUnknownId); + // Access through demand() const char yetAnotherIdKey[] = "yet another id"; const Json::Value* foundYetAnotherId = object1_.find(yetAnotherIdKey, yetAnotherIdKey + strlen(yetAnotherIdKey)); JSONTEST_ASSERT_EQUAL(nullptr, foundYetAnotherId);