From 9be58b7519c45c682c36f8d70d8e9c7e1422a440 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 21 Oct 2010 19:05:01 +0000 Subject: Get rid of boost::regex in test code. It was barely being used and it causes portability problems on older versions of boost. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1026103 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/logging.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/tests/logging.cpp') diff --git a/cpp/src/tests/logging.cpp b/cpp/src/tests/logging.cpp index 5cb563c7d3..fc55d642c3 100644 --- a/cpp/src/tests/logging.cpp +++ b/cpp/src/tests/logging.cpp @@ -172,7 +172,7 @@ QPID_AUTO_TEST_CASE(testLoggerFormat) { l.format(Logger::FILE|Logger::LINE); QPID_LOG(critical, "foo"); - BOOST_CHECK_REGEX(string(__FILE__)+":\\d+: foo\n", out->last()); + BOOST_CHECK_EQUAL(out->last().find(__FILE__), 0u); l.format(Logger::FUNCTION); QPID_LOG(critical, "foo"); -- cgit v1.2.1