mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-03 21:49:32 +01:00 
			
		
		
		
	Added SUCCEEDs to empty leaf sections to avoid failing due to no assertions
This commit is contained in:
		@@ -578,38 +578,6 @@ MiscTests.cpp:<line number>: FAILED:
 | 
			
		||||
with expansion:
 | 
			
		||||
  1 == 2
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------------------
 | 
			
		||||
even more nested SECTION tests
 | 
			
		||||
  c
 | 
			
		||||
  d (leaf)
 | 
			
		||||
-------------------------------------------------------------------------------
 | 
			
		||||
MiscTests.cpp:<line number>
 | 
			
		||||
...............................................................................
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
No assertions in section 'd (leaf)'
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------------------
 | 
			
		||||
even more nested SECTION tests
 | 
			
		||||
  c
 | 
			
		||||
  e (leaf)
 | 
			
		||||
-------------------------------------------------------------------------------
 | 
			
		||||
MiscTests.cpp:<line number>
 | 
			
		||||
...............................................................................
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
No assertions in section 'e (leaf)'
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------------------
 | 
			
		||||
even more nested SECTION tests
 | 
			
		||||
  f (leaf)
 | 
			
		||||
-------------------------------------------------------------------------------
 | 
			
		||||
MiscTests.cpp:<line number>
 | 
			
		||||
...............................................................................
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
No assertions in section 'f (leaf)'
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------------------
 | 
			
		||||
looped SECTION tests
 | 
			
		||||
  s1
 | 
			
		||||
@@ -704,26 +672,6 @@ MiscTests.cpp:<line number>: FAILED:
 | 
			
		||||
with expansion:
 | 
			
		||||
  false
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------------------
 | 
			
		||||
xmlentitycheck
 | 
			
		||||
  embedded xml
 | 
			
		||||
-------------------------------------------------------------------------------
 | 
			
		||||
MiscTests.cpp:<line number>
 | 
			
		||||
...............................................................................
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
No assertions in section 'embedded xml'
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------------------
 | 
			
		||||
xmlentitycheck
 | 
			
		||||
  encoded chars
 | 
			
		||||
-------------------------------------------------------------------------------
 | 
			
		||||
MiscTests.cpp:<line number>
 | 
			
		||||
...............................................................................
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
No assertions in section 'encoded chars'
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------------------
 | 
			
		||||
send a single char to INFO
 | 
			
		||||
-------------------------------------------------------------------------------
 | 
			
		||||
@@ -869,6 +817,6 @@ with expansion:
 | 
			
		||||
  "first" == "second"
 | 
			
		||||
 | 
			
		||||
===============================================================================
 | 
			
		||||
test cases: 159 | 116 passed | 42 failed |  1 failed as expected
 | 
			
		||||
assertions: 907 | 807 passed | 87 failed | 13 failed as expected
 | 
			
		||||
test cases: 159 | 118 passed | 40 failed |  1 failed as expected
 | 
			
		||||
assertions: 907 | 812 passed | 82 failed | 13 failed as expected
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user