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-10 19:18:14 +0000
committerPhil Nash2011-03-10 19:18:14 +0000
commit2e444861c9a33a28d1776daaeae5019c1d6ddfa0 (patch)
tree919639f44a92027473944e54764b7d725a008630 /Test/TrickyTests.cpp
parente0e74774e275df703039745360a5d9fa816cd35c (diff)
downloadcatch3-2e444861c9a33a28d1776daaeae5019c1d6ddfa0.tar.gz
Fixed some issues caused by single evaluation work
Diffstat (limited to 'Test/TrickyTests.cpp')
-rw-r--r--Test/TrickyTests.cpp19
1 files changed, 18 insertions, 1 deletions
diff --git a/Test/TrickyTests.cpp b/Test/TrickyTests.cpp
index 6078733d..1c1877f7 100644
--- a/Test/TrickyTests.cpp
+++ b/Test/TrickyTests.cpp
@@ -41,15 +41,32 @@ TEST_CASE
///////////////////////////////////////////////////////////////////////////////
TEST_CASE
(
- "./inprogress/succeeding/Tricky/complex lhs",
+ "./inprogress/failing/Tricky/complex lhs",
"Where the LHS is not a simple value"
)
{
+ /*
int a = 1;
int b = 2;
// This only captures part of the expression, but issues a warning about the rest
REQUIRE( a == 2 || b == 2 );
+ */
+}
+///////////////////////////////////////////////////////////////////////////////
+TEST_CASE
+(
+ "./inprogress/failing/Tricky/complex 2",
+ "Where the LHS is not a simple value"
+)
+{
+ /*
+ int a = 1;
+ int b = 2;
+
+ // This only captures part of the expression, but issues a warning about the rest
+ REQUIRE( a+1 == b-1 );
+ */
}
struct Opaque