mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-18 19:05:40 +02:00
Remove unused partial specialization for MatcherMethod<T>
No matcher actually uses it, and there is no good reason for it, as the best it can do for user is removing a single indirection when using the pointer inside the matcher. Given the overhead of other code that will be running during such time, it is completely meaningless. This also fixes compilation for PredicateMatcher<const char*>.
This commit is contained in:
@@ -5739,6 +5739,18 @@ PASSED:
|
||||
with expansion:
|
||||
0 != 0x<hex digits>
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Predicate matcher can accept const char*
|
||||
-------------------------------------------------------------------------------
|
||||
Matchers.tests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
Matchers.tests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE_THAT( "foo", Predicate<const char*>([] (const char* const&) { return true; }) )
|
||||
with expansion:
|
||||
"foo" matches undescribed predicate
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Process can be configured on command line
|
||||
empty args don't cause a crash
|
||||
@@ -10885,6 +10897,6 @@ Misc.tests.cpp:<line number>:
|
||||
PASSED:
|
||||
|
||||
===============================================================================
|
||||
test cases: 215 | 149 passed | 62 failed | 4 failed as expected
|
||||
assertions: 1247 | 1104 passed | 122 failed | 21 failed as expected
|
||||
test cases: 216 | 150 passed | 62 failed | 4 failed as expected
|
||||
assertions: 1248 | 1105 passed | 122 failed | 21 failed as expected
|
||||
|
||||
|
Reference in New Issue
Block a user