Skip to content

Commit 2214d99

Browse files
committed
Rename "index" variable in test to "indexes"
1 parent b982efd commit 2214d99

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/t/index/test_relations_map.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,17 @@ TEST_CASE("RelationsMapStash both indexes") {
9292
REQUIRE_FALSE(stash.empty());
9393
REQUIRE(stash.size() == 2);
9494

95-
const auto index = stash.build_indexes();
95+
const auto indexes = stash.build_indexes();
9696

97-
REQUIRE_FALSE(index.empty());
98-
REQUIRE(index.size() == 2);
97+
REQUIRE_FALSE(indexes.empty());
98+
REQUIRE(indexes.size() == 2);
9999

100100
int count = 0;
101-
index.member_to_parent().for_each(2, [&](osmium::unsigned_object_id_type id) {
101+
indexes.member_to_parent().for_each(2, [&](osmium::unsigned_object_id_type id) {
102102
REQUIRE(id == 3);
103103
++count;
104104
});
105-
index.parent_to_member().for_each(2, [&](osmium::unsigned_object_id_type id) {
105+
indexes.parent_to_member().for_each(2, [&](osmium::unsigned_object_id_type id) {
106106
REQUIRE(id == 1);
107107
++count;
108108
});

0 commit comments

Comments
 (0)