Skip to content

Commit 9a629bc

Browse files
committed
tests: Add a comment
1 parent d76fe56 commit 9a629bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test_lib_json/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ JSONTEST_FIXTURE(ValueTest, objects) {
214214
const Json::Value* foundUnknownId = object1_.find(unknownIdKey, unknownIdKey + strlen(unknownIdKey));
215215
JSONTEST_ASSERT_EQUAL(nullptr, foundUnknownId);
216216

217+
// Access through demand()
217218
const char yetAnotherIdKey[] = "yet another id";
218219
const Json::Value* foundYetAnotherId = object1_.find(yetAnotherIdKey, yetAnotherIdKey + strlen(yetAnotherIdKey));
219220
JSONTEST_ASSERT_EQUAL(nullptr, foundYetAnotherId);

0 commit comments

Comments
 (0)