Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSimon Warta2015-08-08 00:15:58 +0200
committerPhil Nash2015-12-10 08:13:08 +0000
commit506b915f7fa85becebe4efdd79c3e9ccefbd39eb (patch)
tree4964f6109dc65bfc7b05537bf894ff0e65d75e3b
parent5cab3cc1b88420f4e9453e3ad71f40bc9db55ef2 (diff)
downloadcatch3-506b915f7fa85becebe4efdd79c3e9ccefbd39eb.tar.gz
Add missing comma when in captured expression for matchers
Such that CHECK_THAT( hex_encode(outbuf) Equals("B5D4045C") ) becomes CHECK_THAT( hex_encode(outbuf), Equals("B5D4045C") )
-rw-r--r--include/internal/catch_capture.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/catch_capture.hpp b/include/internal/catch_capture.hpp
index e819c63d..2cd08582 100644
--- a/include/internal/catch_capture.hpp
+++ b/include/internal/catch_capture.hpp
@@ -130,7 +130,7 @@ namespace Catch {
///////////////////////////////////////////////////////////////////////////////
#define INTERNAL_CHECK_THAT( arg, matcher, resultDisposition, macroName ) \
do { \
- Catch::ResultBuilder __catchResult( macroName, CATCH_INTERNAL_LINEINFO, #arg " " #matcher, resultDisposition ); \
+ Catch::ResultBuilder __catchResult( macroName, CATCH_INTERNAL_LINEINFO, #arg ", " #matcher, resultDisposition ); \
try { \
std::string matcherAsString = (matcher).toString(); \
__catchResult \