unit test geojson - only expect CHECK_THROW when *.index is not present. Bounding box extractor parser is not strict in the sense that it doesn't require input to be fully consumed (i.e it can handle extra traling characters).
This commit is contained in:
parent
5cb2b8a77a
commit
9f439d1e2e
1 changed files with 1 additions and 1 deletions
|
@ -400,7 +400,7 @@ TEST_CASE("geojson") {
|
|||
msg << "testcase: create index " << create_index << " cache-features " << cache_features;
|
||||
params["cache-features"] = cache_features;
|
||||
INFO(msg.str());
|
||||
CHECK_THROWS(mapnik::datasource_cache::instance().create(params));
|
||||
if (!create_index) CHECK_THROWS(mapnik::datasource_cache::instance().create(params));
|
||||
}
|
||||
|
||||
// cleanup
|
||||
|
|
Loading…
Reference in a new issue