Skip to content

Commit fd17511

Browse files
authored
Merge pull request #1322 from joto/fix-gazetteer-test
Fix file ordering issue in gazetteer test
2 parents d5c5a74 + 3ff55d2 commit fd17511

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test-output-gazetteer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class relation_opl_t
121121
id);
122122
}
123123

124-
void del(osmid_t id) { fmt::format_to(m_way_opl, "r{} v2 dD\n", id); }
124+
void del(osmid_t id) { fmt::format_to(m_rel_opl, "r{} v2 dD\n", id); }
125125

126126
std::string get_and_clear_opl()
127127
{
@@ -303,9 +303,9 @@ TEMPLATE_TEST_CASE("Main tags", "", node_importer_t, way_importer_t,
303303
CHECK(1 == t.obj_count(conn, 2, "railway"));
304304
CHECK(1 == t.obj_count(conn, 3, "amenity"));
305305

306-
t.del(3);
307306
t.add(1, "not_a=restaurant");
308307
t.add(2, "highway=bus_stop,name=X");
308+
t.del(3);
309309

310310
t.update();
311311

0 commit comments

Comments
 (0)