mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 04:07:10 +01:00 
			
		
		
		
	Remove unused type from tests
This commit is contained in:
		| @@ -65,10 +65,6 @@ TEST_CASE( "variant<variant<float, int>, string>", "[toString][variant][approval | ||||
|     CHECK( "0" == ::Catch::Detail::stringify(type{0}) ); | ||||
|     CHECK( "\"foo\"" == ::Catch::Detail::stringify(type{"foo"}) ); | ||||
|  | ||||
|     struct sample { | ||||
|         operator int() const { throw 42; } | ||||
|     }; | ||||
|  | ||||
|     SECTION("valueless nested variant") { | ||||
|         type value = inner{0.5f}; | ||||
|         REQUIRE( std::holds_alternative<inner>(value) ); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský