projects
/
senf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Documentation updates
[senf.git]
/
Utils
/
Exception.test.cc
diff --git
a/Utils/Exception.test.cc
b/Utils/Exception.test.cc
index
7706bcd
..
58a2f2b
100644
(file)
--- a/
Utils/Exception.test.cc
+++ b/
Utils/Exception.test.cc
@@
-58,7
+58,9
@@
BOOST_AUTO_UNIT_TEST(wrapException)
}
}
catch (std::exception const & ex) {
+#ifdef SENF_DEBUG
BOOST_CHECK( std::string(ex.what()).find("-- \n") != std::string::npos );
+#endif
BOOST_CHECK( std::string(ex.what()).find("special exception") != std::string::npos );
throw;
}