diff options
Diffstat (limited to 'cpp/src/tests/logging.cpp')
-rw-r--r-- | cpp/src/tests/logging.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |