mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-03 22:05:39 +02:00
Support sentinel-based ranges in default stringify (#2004)
This commit is contained in:

committed by
Martin Hořeňovský

parent
08fb5cbab2
commit
31d4831245
@@ -9326,6 +9326,17 @@ Misc.tests.cpp:<line number>: PASSED:
|
||||
with expansion:
|
||||
1 >= 1
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Range type with sentinel
|
||||
-------------------------------------------------------------------------------
|
||||
ToString.tests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
ToString.tests.cpp:<line number>: PASSED:
|
||||
CHECK( Catch::Detail::stringify(UsesSentinel{}) == "{ }" )
|
||||
with expansion:
|
||||
"{ }" == "{ }"
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Reconstruction should be based on stringification: #914
|
||||
-------------------------------------------------------------------------------
|
||||
@@ -15654,6 +15665,6 @@ Misc.tests.cpp:<line number>
|
||||
Misc.tests.cpp:<line number>: PASSED:
|
||||
|
||||
===============================================================================
|
||||
test cases: 349 | 259 passed | 86 failed | 4 failed as expected
|
||||
assertions: 2006 | 1837 passed | 148 failed | 21 failed as expected
|
||||
test cases: 350 | 260 passed | 86 failed | 4 failed as expected
|
||||
assertions: 2007 | 1838 passed | 148 failed | 21 failed as expected
|
||||
|
||||
|
Reference in New Issue
Block a user