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

This commit is contained in:
2020-12-23 12:04:20 +01:00
parent 0e49c58647
commit 95266f71ba
3 changed files with 38 additions and 33 deletions

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 ---");
}
}