mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-03 21:49:32 +01:00 
			
		
		
		
	Fixed reversed logic of NoAssertions warning check
(that explains the previous regressions)
This commit is contained in:
		@@ -494,27 +494,7 @@ explicitly with message:
 | 
			
		||||
  Message from section two
 | 
			
		||||
 | 
			
		||||
Message from section one
 | 
			
		||||
-------------------------------------------------------------------------------
 | 
			
		||||
Standard output from all sections is reported
 | 
			
		||||
  one
 | 
			
		||||
-------------------------------------------------------------------------------
 | 
			
		||||
MessageTests.cpp:<line number>
 | 
			
		||||
...............................................................................
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
No assertions in section 'one'
 | 
			
		||||
 | 
			
		||||
Message from section two
 | 
			
		||||
-------------------------------------------------------------------------------
 | 
			
		||||
Standard output from all sections is reported
 | 
			
		||||
  two
 | 
			
		||||
-------------------------------------------------------------------------------
 | 
			
		||||
MessageTests.cpp:<line number>
 | 
			
		||||
...............................................................................
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
No assertions in section 'two'
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------------------
 | 
			
		||||
SCOPED_INFO is reset for each loop
 | 
			
		||||
-------------------------------------------------------------------------------
 | 
			
		||||
@@ -817,6 +797,6 @@ with expansion:
 | 
			
		||||
  "first" == "second"
 | 
			
		||||
 | 
			
		||||
===============================================================================
 | 
			
		||||
test cases: 159 | 118 passed | 40 failed |  1 failed as expected
 | 
			
		||||
assertions: 907 | 812 passed | 82 failed | 13 failed as expected
 | 
			
		||||
test cases: 159 | 119 passed | 39 failed |  1 failed as expected
 | 
			
		||||
assertions: 905 | 812 passed | 80 failed | 13 failed as expected
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user