Commit fc4fb91b 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 feeda5c6
......@@ -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"));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment