mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-03 21:49:32 +01:00 
			
		
		
		
	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") )
			
			
This commit is contained in:
		@@ -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 \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user