From bf59bc2edbb1f3f4d12bfbd8ed2663fbbb1900c0 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Fri, 5 Dec 2014 14:14:32 +0100 Subject: removed fatal flag from LoggableException, added constructor capable of using a PosType --- test/core/LoggerTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/core') 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); -- cgit v1.2.3