We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 424b310 commit 369da3fCopy full SHA for 369da3f
src/ystdlib/error_handling/test/test_TraceableException.cpp
@@ -51,10 +51,13 @@ auto capture_exception(Callable&& f) -> TraceableException<E> {
51
}
52
} // namespace
53
54
+#include <iostream>
55
+
56
namespace ystdlib::error_handling::test {
57
TEST_CASE("test_traceable_exception", "[error_handling][TraceableException]") {
58
auto const ex{capture_exception<BinaryErrorCode>(Worker::execute_with_success)};
59
REQUIRE((0 == std::strcmp(ex.where().file_name(), cCurrentFileName)));
60
+ std::cout << ex.where().str().c_str() << std::endl;
61
REQUIRE((0 == std::strcmp(ex.where().str().c_str(), cCurrentExceptionLocation)));
62
63
} // namespace ystdlib::error_handling::test
0 commit comments