Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/Test/TrickyTests.cpp
diff options
context:
space:
mode:
authorPhil Nash2011-03-11 19:46:18 +0000
committerPhil Nash2011-03-11 19:46:18 +0000
commitb8262439564094de8e182bdebd4d67cae5a2e8d0 (patch)
tree13aa405a1d2858978b6ac0d671bafa74264c7c61 /Test/TrickyTests.cpp
parentf35e0cbc6ab5e87e9c3259844c6f4f2e43ceada0 (diff)
downloadcatch3-b8262439564094de8e182bdebd4d67cae5a2e8d0.tar.gz
Removed complex expression tests (they shouldn't compile now)
Diffstat (limited to 'Test/TrickyTests.cpp')
-rw-r--r--Test/TrickyTests.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/Test/TrickyTests.cpp b/Test/TrickyTests.cpp
index 1c1877f7..6a2f69bc 100644
--- a/Test/TrickyTests.cpp
+++ b/Test/TrickyTests.cpp
@@ -41,8 +41,8 @@ TEST_CASE
///////////////////////////////////////////////////////////////////////////////
TEST_CASE
(
- "./inprogress/failing/Tricky/complex lhs",
- "Where the LHS is not a simple value"
+ "./inprogress/failing/Tricky/trailing expression",
+ "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
REQUIRE( a == 2 || b == 2 );
*/
+ WARN( "Uncomment the code in this test to check that it gives a sensible compiler error" );
}
///////////////////////////////////////////////////////////////////////////////
TEST_CASE
(
- "./inprogress/failing/Tricky/complex 2",
+ "./inprogress/failing/Tricky/compound lhs",
"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
REQUIRE( a+1 == b-1 );
*/
+ WARN( "Uncomment the code in this test to check that it gives a sensible compiler error" );
}
struct Opaque