summaryrefslogtreecommitdiff
path: root/test/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'test/plugins')
-rw-r--r--test/plugins/css/CSSParserTest.cpp3
-rw-r--r--test/plugins/xml/XmlParserTest.cpp3
2 files changed, 1 insertions, 5 deletions
diff --git a/test/plugins/css/CSSParserTest.cpp b/test/plugins/css/CSSParserTest.cpp
index 774c345..420241e 100644
--- a/test/plugins/css/CSSParserTest.cpp
+++ b/test/plugins/css/CSSParserTest.cpp
@@ -266,8 +266,7 @@ void assertException(std::string css)
CharReader reader(css);
TerminalLogger logger(std::cerr, true);
{
- ScopedLogger sl(logger, "test.css", SourceLocation{},
- CharReader::contextCallback, &reader);
+ ScopedLogger sl(logger);
StandaloneParserContext ctx(sl);
CSSParser instance;
diff --git a/test/plugins/xml/XmlParserTest.cpp b/test/plugins/xml/XmlParserTest.cpp
index 7785ae2..52b64e5 100644
--- a/test/plugins/xml/XmlParserTest.cpp
+++ b/test/plugins/xml/XmlParserTest.cpp
@@ -40,7 +40,6 @@ TEST(XmlParser, mismatchedTagException)
p.parse("<document>\n</document2>", ctx.context);
}
catch (LoggableException ex) {
- ASSERT_EQ(2, ex.loc.line);
hadException = true;
}
ASSERT_TRUE(hadException);
@@ -81,8 +80,6 @@ TEST(XmlParser, namespaces)
XmlParser p;
CharReader reader(TEST_DATA);
{
- ScopedLogger sl(logger, "test.oxd", SourceLocation{},
- CharReader::contextCallback, &reader);
try {
p.parse(TEST_DATA, ctx.context);
}