mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +01:00 
			
		
		
		
	Removed complex expression tests (they shouldn't compile now)
This commit is contained in:
		@@ -41,8 +41,8 @@ TEST_CASE
 | 
				
			|||||||
///////////////////////////////////////////////////////////////////////////////
 | 
					///////////////////////////////////////////////////////////////////////////////
 | 
				
			||||||
TEST_CASE
 | 
					TEST_CASE
 | 
				
			||||||
(
 | 
					(
 | 
				
			||||||
    "./inprogress/failing/Tricky/complex lhs", 
 | 
					    "./inprogress/failing/Tricky/trailing expression", 
 | 
				
			||||||
    "Where the LHS is not a simple value"
 | 
					    "Where the is more to the expression after the RHS"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    /*
 | 
					    /*
 | 
				
			||||||
@@ -52,11 +52,12 @@ TEST_CASE
 | 
				
			|||||||
    // This only captures part of the expression, but issues a warning about the rest
 | 
					    // This only captures part of the expression, but issues a warning about the rest
 | 
				
			||||||
    REQUIRE( a == 2 || b == 2 );
 | 
					    REQUIRE( a == 2 || b == 2 );
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
 | 
					    WARN( "Uncomment the code in this test to check that it gives a sensible compiler error" );
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
///////////////////////////////////////////////////////////////////////////////
 | 
					///////////////////////////////////////////////////////////////////////////////
 | 
				
			||||||
TEST_CASE
 | 
					TEST_CASE
 | 
				
			||||||
(
 | 
					(
 | 
				
			||||||
    "./inprogress/failing/Tricky/complex 2", 
 | 
					    "./inprogress/failing/Tricky/compound lhs", 
 | 
				
			||||||
    "Where the LHS is not a simple value"
 | 
					    "Where the LHS is not a simple value"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
@@ -67,6 +68,7 @@ TEST_CASE
 | 
				
			|||||||
    // This only captures part of the expression, but issues a warning about the rest
 | 
					    // This only captures part of the expression, but issues a warning about the rest
 | 
				
			||||||
    REQUIRE( a+1 == b-1 );
 | 
					    REQUIRE( a+1 == b-1 );
 | 
				
			||||||
    */
 | 
					    */
 | 
				
			||||||
 | 
					    WARN( "Uncomment the code in this test to check that it gives a sensible compiler error" );
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct Opaque
 | 
					struct Opaque
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user