mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-03 22:05:39 +02:00
Arg::parse accepts plain Args as argument
This commit is contained in:
@@ -2857,6 +2857,22 @@ ToStringGeneral.tests.cpp:<line number>: PASSED:
|
||||
with expansion:
|
||||
5 == 5
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Clara::Arg supports single-arg parse the way Opt does
|
||||
-------------------------------------------------------------------------------
|
||||
Clara.tests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
Clara.tests.cpp:<line number>: PASSED:
|
||||
CHECK( name.empty() )
|
||||
with expansion:
|
||||
true
|
||||
|
||||
Clara.tests.cpp:<line number>: PASSED:
|
||||
REQUIRE( name == "foo" )
|
||||
with expansion:
|
||||
"foo" == "foo"
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Combining MatchAllOfGeneric does not nest
|
||||
-------------------------------------------------------------------------------
|
||||
@@ -15665,6 +15681,6 @@ Misc.tests.cpp:<line number>
|
||||
Misc.tests.cpp:<line number>: PASSED:
|
||||
|
||||
===============================================================================
|
||||
test cases: 350 | 260 passed | 86 failed | 4 failed as expected
|
||||
assertions: 2007 | 1838 passed | 148 failed | 21 failed as expected
|
||||
test cases: 351 | 261 passed | 86 failed | 4 failed as expected
|
||||
assertions: 2009 | 1840 passed | 148 failed | 21 failed as expected
|
||||
|
||||
|
Reference in New Issue
Block a user