File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -92,17 +92,17 @@ TEST_CASE("RelationsMapStash both indexes") {
92
92
REQUIRE_FALSE (stash.empty ());
93
93
REQUIRE (stash.size () == 2 );
94
94
95
- const auto index = stash.build_indexes ();
95
+ const auto indexes = stash.build_indexes ();
96
96
97
- REQUIRE_FALSE (index .empty ());
98
- REQUIRE (index .size () == 2 );
97
+ REQUIRE_FALSE (indexes .empty ());
98
+ REQUIRE (indexes .size () == 2 );
99
99
100
100
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) {
102
102
REQUIRE (id == 3 );
103
103
++count;
104
104
});
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) {
106
106
REQUIRE (id == 1 );
107
107
++count;
108
108
});
You can’t perform that action at this time.
0 commit comments