Boost logo

Boost-Commit :

From: emil_at_[hidden]
Date: 2008-08-29 23:05:26


Author: emildotchevski
Date: 2008-08-29 23:05:26 EDT (Fri, 29 Aug 2008)
New Revision: 48470
URL: http://svn.boost.org/trac/boost/changeset/48470

Log:
nit in diagnostic_information_test.cpp
Text files modified:
   trunk/libs/exception/test/diagnostic_information_test.cpp | 6 ++++++
   1 files changed, 6 insertions(+), 0 deletions(-)

Modified: trunk/libs/exception/test/diagnostic_information_test.cpp
==============================================================================
--- trunk/libs/exception/test/diagnostic_information_test.cpp (original)
+++ trunk/libs/exception/test/diagnostic_information_test.cpp 2008-08-29 23:05:26 EDT (Fri, 29 Aug 2008)
@@ -72,6 +72,9 @@
         std::string di=boost::diagnostic_information(x);
         BOOST_TEST(di.find("type:")!=std::string::npos);
         BOOST_TEST(di.find("error2")!=std::string::npos);
+#ifndef BOOST_NO_RTTI
+ BOOST_TEST(di.find("test_tag")!=std::string::npos);
+#endif
         }
     catch(
     ... )
@@ -89,6 +92,9 @@
         {
         std::string di=boost::diagnostic_information(x);
         BOOST_TEST(di.find("type:")!=std::string::npos);
+#ifndef BOOST_NO_RTTI
+ BOOST_TEST(di.find("error2")!=std::string::npos);
+#endif
         BOOST_TEST(di.find("test_tag")!=std::string::npos);
         }
     catch(


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk