bypass expected error condition - refs #3125

This commit is contained in:
Dane Springmeyer 2015-10-22 10:28:31 -07:00
parent ca63ae0a96
commit 5fe7367231

View file

@ -418,7 +418,12 @@ TEST_CASE("geojson") {
for (auto cache_features : {true, false}) for (auto cache_features : {true, false})
{ {
if (!create_index) // unfortunately when using an index or not
// caching features we use the bbox grammar
// which is not strict (and would be a perf hit if it were strict).
// So this is one known hole where invalid data may silently parse okay
// refs https://github.com/mapnik/mapnik/issues/3125
if (!create_index && cache_features == true)
{ {
std::stringstream msg; std::stringstream msg;
msg << "testcase: create index " << create_index << " cache_features " << cache_features; msg << "testcase: create index " << create_index << " cache_features " << cache_features;