summaryrefslogtreecommitdiff
path: root/test/plugins/xml
diff options
context:
space:
mode:
Diffstat (limited to 'test/plugins/xml')
-rw-r--r--test/plugins/xml/XmlParserTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/plugins/xml/XmlParserTest.cpp b/test/plugins/xml/XmlParserTest.cpp
index 7dc8c24..39b1a9d 100644
--- a/test/plugins/xml/XmlParserTest.cpp
+++ b/test/plugins/xml/XmlParserTest.cpp
@@ -36,7 +36,7 @@ TEST(XmlParser, mismatchedTagException)
p.parse("<document>\n</document2>", ctx);
}
catch (ParserException ex) {
- ASSERT_EQ(2, ex.line);
+ ASSERT_EQ(2U, ex.pos.line);
hadException = true;
}
ASSERT_TRUE(hadException);