mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-20 19:45:40 +02:00
Change reporting of CAPTURE'd variables
Info is not changed, intentionally. Closes #639
This commit is contained in:
@@ -603,6 +603,32 @@ PASSED:
|
||||
with expansion:
|
||||
true
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Capture and info messages
|
||||
Capture should stringify like assertions
|
||||
-------------------------------------------------------------------------------
|
||||
ToStringGeneralTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
ToStringGeneralTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( true )
|
||||
with message:
|
||||
i := 2
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Capture and info messages
|
||||
Info should NOT stringify the way assertions do
|
||||
-------------------------------------------------------------------------------
|
||||
ToStringGeneralTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
ToStringGeneralTests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( true )
|
||||
with message:
|
||||
3
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Character pretty printing
|
||||
Specifically escaped
|
||||
@@ -3292,7 +3318,7 @@ with expansion:
|
||||
re>"
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Long text is truncted
|
||||
Long text is truncated
|
||||
-------------------------------------------------------------------------------
|
||||
TestMain.cpp:<line number>
|
||||
...............................................................................
|
||||
@@ -9324,6 +9350,6 @@ MiscTests.cpp:<line number>:
|
||||
PASSED:
|
||||
|
||||
===============================================================================
|
||||
test cases: 163 | 117 passed | 44 failed | 2 failed as expected
|
||||
assertions: 955 | 849 passed | 88 failed | 18 failed as expected
|
||||
test cases: 164 | 118 passed | 44 failed | 2 failed as expected
|
||||
assertions: 957 | 851 passed | 88 failed | 18 failed as expected
|
||||
|
||||
|
Reference in New Issue
Block a user