Lots of cleanups to get stacks properly working in all cases.
This commit is contained in:
@@ -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 ---");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user