mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
Updated SVG unit test so that it no longer writes to std err. closes #3007
This commit is contained in:
parent
727341f41a
commit
f5cf669736
@ -57,10 +57,12 @@ TEST_CASE("SVG parser") {
|
||||
|
||||
SECTION("SVG i/o")
|
||||
{
|
||||
mapnik::logger::instance().set_severity(mapnik::logger::none);
|
||||
std::string svg_name("FAIL");
|
||||
std::shared_ptr<mapnik::marker const> marker = mapnik::marker_cache::instance().find(svg_name, false);
|
||||
REQUIRE(marker);
|
||||
REQUIRE(marker->is<mapnik::marker_null>());
|
||||
mapnik::logger::instance().set_severity(mapnik::logger::error);
|
||||
}
|
||||
|
||||
SECTION("SVG::parse i/o")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user