Update test
This commit is contained in:
parent
387d54fe9d
commit
56d63073b4
1 changed files with 2 additions and 2 deletions
|
@ -34,11 +34,11 @@ SECTION("handling") {
|
||||||
|
|
||||||
// https://github.com/mapnik/mapnik/issues/2170
|
// https://github.com/mapnik/mapnik/issues/2170
|
||||||
try {
|
try {
|
||||||
mapnik::projection srs("+proj=longlat foo",true);
|
mapnik::projection srs("epsg:4326 foo",true);
|
||||||
REQUIRE(srs.is_geographic());
|
REQUIRE(srs.is_geographic());
|
||||||
REQUIRE(true);
|
REQUIRE(true);
|
||||||
srs.init_proj();
|
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);
|
//REQUIRE(false);
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
REQUIRE(true);
|
REQUIRE(true);
|
||||||
|
|
Loading…
Add table
Reference in a new issue