Skip to content
Snippets Groups Projects
Commit 65e9a1db authored by Eric Cano's avatar Eric Cano Committed by Victor Kotlyar
Browse files

Fixed wrong string expected in exception unit test after move to CTA exceptions.

parent e4f2961d
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ namespace unitTests {
} catch (cta::exception::Exception & e) {
std::string bt = e.backtrace();
ASSERT_NE(std::string::npos, bt.find("Nested::f1"));
ASSERT_NE(std::string::npos, bt.find("castor::exception::Backtrace::Backtrace"));
ASSERT_NE(std::string::npos, bt.find("cta::exception::Backtrace::Backtrace"));
ASSERT_EQ("Throwing in Nested's constructor", std::string(e.getMessageValue()));
std::string fullWhat(e.what());
ASSERT_NE(std::string::npos, fullWhat.find("Nested::f1"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment