From 5b08c21eb092d6df6d8c6b47d884e54dd57d0488 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Mon, 26 Feb 2024 16:25:40 +0000 Subject: [PATCH] Actually enable 'is_empty' test + cleanup --- test/unit/datasource/geojson.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/unit/datasource/geojson.cpp b/test/unit/datasource/geojson.cpp index a8812c7d4..30522d12b 100644 --- a/test/unit/datasource/geojson.cpp +++ b/test/unit/datasource/geojson.cpp @@ -141,11 +141,7 @@ TEST_CASE("geojson") std::string json(in); mapnik::geometry::geometry geom; CHECK(mapnik::json::from_geojson(json, geom)); - if (!mapnik::geometry::is_empty(geom)) - { - std::cerr << json << std::endl; - } - // REQUIRE(mapnik::geometry::is_empty(geom)); + REQUIRE(mapnik::geometry::is_empty(geom)); // round trip std::string json_out; CHECK(mapnik::util::to_geojson(json_out, geom));