diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2014-12-05 14:14:32 +0100 |
---|---|---|
committer | Andreas Stöckel <andreas@somweyr.de> | 2014-12-05 14:14:32 +0100 |
commit | bf59bc2edbb1f3f4d12bfbd8ed2663fbbb1900c0 (patch) | |
tree | 30d1fcfaf43045904883f1f068be6347487eedb4 /test/core/LoggerTest.cpp | |
parent | ddbea4164e126739f39658627c04e7e23b71e090 (diff) |
removed fatal flag from LoggableException, added constructor capable of using a PosType
Diffstat (limited to 'test/core/LoggerTest.cpp')
-rw-r--r-- | test/core/LoggerTest.cpp | 4 |
1 files changed, 2 insertions, 2 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); |