Update svg unit tests post 831e353c5d
This commit is contained in:
parent
201268334d
commit
f04ab0cbae
1 changed files with 4 additions and 4 deletions
|
@ -666,8 +666,8 @@ TEST_CASE("SVG parser") {
|
||||||
std::string svg_name("./test/data/svg/gradient-nodef.svg");
|
std::string svg_name("./test/data/svg/gradient-nodef.svg");
|
||||||
char const* expected_errors[] =
|
char const* expected_errors[] =
|
||||||
{
|
{
|
||||||
"SVG parse error: failed to locate <gradient> fill with <id> \"MyGradient\"",
|
"SVG parse error: failed to locate fill with <id> \"MyGradient\"",
|
||||||
"SVG parse error: failed to locate <gradient> stroke with <id> \"MyGradient\""
|
"SVG parse error: failed to locate stroke with <id> \"MyGradient\""
|
||||||
};
|
};
|
||||||
{
|
{
|
||||||
test_parser p;
|
test_parser p;
|
||||||
|
@ -692,8 +692,8 @@ TEST_CASE("SVG parser") {
|
||||||
std::string svg_name("./test/data/svg/gradient-no-id.svg");
|
std::string svg_name("./test/data/svg/gradient-no-id.svg");
|
||||||
char const* expected_errors[] =
|
char const* expected_errors[] =
|
||||||
{
|
{
|
||||||
"SVG parse error: failed to locate <gradient> fill with <id> \"MyGradient\"",
|
"SVG parse error: failed to locate fill with <id> \"MyGradient\"",
|
||||||
"SVG parse error: failed to locate <gradient> stroke with <id> \"MyGradient\""
|
"SVG parse error: failed to locate stroke with <id> \"MyGradient\""
|
||||||
};
|
};
|
||||||
|
|
||||||
std::ifstream in(svg_name.c_str());
|
std::ifstream in(svg_name.c_str());
|
||||||
|
|
Loading…
Reference in a new issue