diff options
Diffstat (limited to 'test/plugins/xml/XmlParserTest.cpp')
-rw-r--r-- | test/plugins/xml/XmlParserTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/plugins/xml/XmlParserTest.cpp b/test/plugins/xml/XmlParserTest.cpp index 2046940..6ac2fc1 100644 --- a/test/plugins/xml/XmlParserTest.cpp +++ b/test/plugins/xml/XmlParserTest.cpp @@ -38,7 +38,7 @@ TEST(XmlParser, mismatchedTagException) bool hadException = false; try { - p.parse("<document>\n</document2>", ctx); + p.parse("<document>\n</document2>", ctx.context); } catch (LoggableException ex) { ASSERT_EQ(2, ex.loc.line); @@ -81,7 +81,7 @@ TEST(XmlParser, namespaces) ScopedLogger sl(logger, "test.oxd", SourceLocation{}, CharReader::contextCallback, &reader); try { - p.parse(TEST_DATA, ctx); + p.parse(TEST_DATA, ctx.context); } catch (LoggableException ex) { logger.log(ex); |