From 56d63073b4971892dd4b0896b00e730d2224905d Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Mon, 15 Mar 2021 18:10:09 +0000 Subject: [PATCH] Update test --- test/unit/core/exceptions_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/core/exceptions_test.cpp b/test/unit/core/exceptions_test.cpp index 62d414ba6..2c6f14999 100644 --- a/test/unit/core/exceptions_test.cpp +++ b/test/unit/core/exceptions_test.cpp @@ -34,11 +34,11 @@ SECTION("handling") { // https://github.com/mapnik/mapnik/issues/2170 try { - mapnik::projection srs("+proj=longlat foo",true); + mapnik::projection srs("epsg:4326 foo",true); REQUIRE(srs.is_geographic()); REQUIRE(true); srs.init_proj(); - // oddly init_proj4 does not throw with old proj/ubuntu precise + // oddly init_proj does not throw with old proj/ubuntu precise //REQUIRE(false); } catch (...) { REQUIRE(true);