some portability fixes (thanks to Sam Saariste)

This commit is contained in:
Phil Nash
2010-11-11 20:56:38 +00:00
parent 7d71e9b431
commit 9e4708371e
6 changed files with 16 additions and 23 deletions

View File

@@ -41,11 +41,3 @@ TEST_CASE( "succeeding/Tricky/complex lhs", "Where the LHS is not a simple value
// This only captures part of the expression, but issues a warning about the rest
EXPECT( a == 2 || b == 2 );
}
TEST_CASE( "succeeding/Tricky/complex lhs/2", "Where the LHS is not a simple value" )
{
int a = 1;
// This only captures part of the expression, but issues a warning about the rest
// EXPECT( a + 1 == 2);
}