Updated approval tests

This commit is contained in:
Martin Hořeňovský
2017-04-29 17:54:10 +02:00
parent a3ceb8f007
commit e641485132
5 changed files with 36 additions and 7 deletions

View File

@@ -119,7 +119,7 @@ with expansion:
MiscTests.cpp:<line number>:
PASSED:
REQUIRE( (*__error()) == 1 )
REQUIRE( errno == 1 )
with expansion:
1 == 1
@@ -2717,14 +2717,17 @@ MessageTests.cpp:<line number>: FAILED:
CHECK( a == 1 )
with expansion:
2 == 1
with message:
with messages:
this message may be logged later
this message should be logged
MessageTests.cpp:<line number>: FAILED:
CHECK( a == 0 )
with expansion:
2 == 0
with message:
with messages:
this message may be logged later
this message should be logged
and this, but later
MessageTests.cpp:<line number>:
@@ -2732,7 +2735,10 @@ PASSED:
CHECK( a == 2 )
with expansion:
2 == 2
with message:
with messages:
this message may be logged later
this message should be logged
and this, but later
but not this
-------------------------------------------------------------------------------