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

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorSimon Warta2015-08-08 00:15:58 +0200
committerPhil Nash2015-12-10 08:09:10 +0000
commita5fba672e1ec537f80d2186aa6c866894e03b080 (patch)
tree54811a8abd78de24f3fa681811d2dc406f23f770 /include
parent2106d828811e9d79b744a48dcde721cdd6092de7 (diff)
downloadcatch3-a5fba672e1ec537f80d2186aa6c866894e03b080.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") )
Diffstat (limited to 'include')
-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 22cf6959..72af2569 100644
--- a/include/internal/catch_capture.hpp
+++ b/include/internal/catch_capture.hpp
@@ -129,7 +129,7 @@
///////////////////////////////////////////////////////////////////////////////
#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 \