summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/core/LoggerTest.cpp4
-rw-r--r--test/plugins/xml/XmlParserTest.cpp1
2 files changed, 2 insertions, 3 deletions
diff --git a/test/core/LoggerTest.cpp b/test/core/LoggerTest.cpp
index 0c333ce..abb76de 100644
--- a/test/core/LoggerTest.cpp
+++ b/test/core/LoggerTest.cpp
@@ -52,14 +52,14 @@ TEST(TerminalLogger, log)
logger.fatalError("This is a test fatal error!", 10, 20);
try {
- throw LoggableException{"A fatal exception", true};
+ throw LoggableException{"An exception"};
}
catch (const LoggableException &ex) {
logger.log(ex);
}
try {
- throw LoggableException{"A fatal exception at position", true, Pos(10, 20)};
+ throw LoggableException{"An exception at position", Pos(10, 20)};
}
catch (const LoggableException &ex) {
logger.log(ex);
diff --git a/test/plugins/xml/XmlParserTest.cpp b/test/plugins/xml/XmlParserTest.cpp
index ecc9438..7dc8c24 100644
--- a/test/plugins/xml/XmlParserTest.cpp
+++ b/test/plugins/xml/XmlParserTest.cpp
@@ -37,7 +37,6 @@ TEST(XmlParser, mismatchedTagException)
}
catch (ParserException ex) {
ASSERT_EQ(2, ex.line);
- ASSERT_FALSE(ex.fatal);
hadException = true;
}
ASSERT_TRUE(hadException);