From 1080d92a790c5a3e1ea06ea79c6405aab68acef5 Mon Sep 17 00:00:00 2001 From: artemp Date: Thu, 27 Aug 2015 13:02:17 +0200 Subject: [PATCH] add missing geometry type check --- test/standalone/csv_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/standalone/csv_test.cpp b/test/standalone/csv_test.cpp index c15692906..6535e8225 100644 --- a/test/standalone/csv_test.cpp +++ b/test/standalone/csv_test.cpp @@ -612,6 +612,7 @@ TEST_CASE("csv") { require_attributes(all_features(ds)->next(), { attr{"x", 0}, attr{"y", 0}, attr{"name", ustring("data_name")} }); REQUIRE(count_features(all_features(ds)) == r.second); + CHECK(ds->get_geometry_type() == mapnik::datasource_geometry_t::Point); } } // END SECTION