mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01:00 
			
		
		
		
	Allow to use non-copyable and non-movable types in TEMPLATE_LIST_TEST_CASE
The parameter given to `convert` may not be copyable therefore it has to be captured by const reference. For example an `std::tuple` that contains a non-copyable type is itself non-copyable. The NonDefaultConstructible test-case was reduced by one example type because it did not add any value.
This commit is contained in:
		 Benjamin Worpitz
					Benjamin Worpitz
				
			
				
					committed by
					
						 Martin Hořeňovský
						Martin Hořeňovský
					
				
			
			
				
	
			
			
			 Martin Hořeňovský
						Martin Hořeňovský
					
				
			
						parent
						
							6629c11ef8
						
					
				
				
					commit
					18d597cf10
				
			| @@ -1380,6 +1380,6 @@ due to unexpected exception with message: | ||||
|   Why would you throw a std::string? | ||||
|  | ||||
| =============================================================================== | ||||
| test cases:  298 |  224 passed |  70 failed |  4 failed as expected | ||||
| assertions: 1553 | 1401 passed | 131 failed | 21 failed as expected | ||||
| test cases:  299 |  225 passed |  70 failed |  4 failed as expected | ||||
| assertions: 1554 | 1402 passed | 131 failed | 21 failed as expected | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user