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") {
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 });
You can’t perform that action at this time.
0 commit comments