Skip to content

Commit 2733de9

Browse files
committed
rename j to empty in IteratorTest/nullValues
1 parent 5fd51e2 commit 2733de9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test_lib_json/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3444,9 +3444,9 @@ JSONTEST_FIXTURE_LOCAL(IteratorTest, distance) {
34443444
}
34453445
}
34463446
{
3447-
Json::Value j; // empty
3448-
JSONTEST_ASSERT_EQUAL(j.end() - j.end(), 0);
3449-
JSONTEST_ASSERT_EQUAL(j.end() - j.begin(), 0);
3447+
Json::Value empty;
3448+
JSONTEST_ASSERT_EQUAL(empty.end() - empty.end(), 0);
3449+
JSONTEST_ASSERT_EQUAL(empty.end() - empty.begin(), 0);
34503450
}
34513451
}
34523452

0 commit comments

Comments
 (0)