Add compilation test for #1027

This commit is contained in:
Martin Hořeňovský
2017-11-13 10:07:06 +01:00
parent 8dbaac61ff
commit b74d4ca96d
6 changed files with 75 additions and 9 deletions

View File

@@ -33,6 +33,24 @@ PASSED:
with expansion:
0 == 0
-------------------------------------------------------------------------------
#1027
-------------------------------------------------------------------------------
CompilationTests.cpp:<line number>
...............................................................................
CompilationTests.cpp:<line number>:
PASSED:
REQUIRE( y.v == 0 )
with expansion:
0 == 0
CompilationTests.cpp:<line number>:
PASSED:
REQUIRE( 0 == y.v )
with expansion:
0 == 0
-------------------------------------------------------------------------------
#748 - captures with unexpected exceptions
outside assertions
@@ -239,6 +257,6 @@ with expansion:
!true
===============================================================================
test cases: 9 | 6 passed | 1 failed | 2 failed as expected
assertions: 26 | 19 passed | 4 failed | 3 failed as expected
test cases: 10 | 7 passed | 1 failed | 2 failed as expected
assertions: 28 | 21 passed | 4 failed | 3 failed as expected