File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 55
66static testing::db::import_t db;
77
8+ static char const *const conf_file = " test_output_flex_nogeom.lua" ;
9+
810TEST_CASE (" updating table without geometry should work" )
911{
10- testing::opt_t options = testing::opt_t ()
11- .slim ()
12- .flex (" test_output_flex_nogeom.lua" )
13- .srs (PROJ_LATLONG);
12+ options_t options =
13+ testing::opt_t ().slim ().flex (conf_file).srs (PROJ_LATLONG);
1414
1515 REQUIRE_NOTHROW (db.run_import (options,
1616 " n10 v1 dV Tamenity=restaurant x10.0 y10.0\n "
@@ -20,10 +20,10 @@ TEST_CASE("updating table without geometry should work")
2020
2121 CHECK (2 == conn.get_count (" osm2pgsql_test_pois" ));
2222
23+ options.append = true ;
24+
2325 REQUIRE_NOTHROW (db.run_import (
24- options.append (),
25- " n10 v2 dV Tamenity=restaurant,name=Schwanen x10.0 y10.0\n " ));
26+ options, " n10 v2 dV Tamenity=restaurant,name=Schwanen x10.0 y10.0\n " ));
2627
2728 CHECK (2 == conn.get_count (" osm2pgsql_test_pois" ));
2829}
29-
You can’t perform that action at this time.
0 commit comments