catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Removed complex expression tests (they shouldn't compile now)
- Commit
b8262439564094de8e182bdebd4d67cae5a2e8d0- Author
- Phil Nash ·
- Parents
f35e0cbc6ab5
Changes
Test/TrickyTests.cpp | 8 +++++--- 1 file 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