Lots of cleanups to get stacks properly working in all cases.

This commit is contained in:
Deukhoofd committed 2020-12-23 12:04:20 +01:00
1 parent 0e49c58647
commit 95266f71ba
3 files changed
+38 -33

No files matched your search

+2 -1
View File
@@ -11,7 +11,8 @@ TEST_CASE("Throw exception get stack trace") {
} catch (const ArbUt::Exception& e) {
REQUIRE(e.GetStacktrace(1) ==
"Stacktrace with depth 1: \n"
"ExceptionTests.cpp[6] static void Thrower() { throw ArbUt::Exception(\"foobar\"); }\n");
"ExceptionTests.cpp[6] static void Thrower() { throw ArbUt::Exception(\"foobar\"); }\n"
"--- End of Stack ---");
}
}