mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-25 14:56:10 +01:00
Fixed broken meta-test
This commit is contained in:
parent
7d1ce5fade
commit
5f43a43662
@ -59,7 +59,7 @@ int main (int argc, char * const argv[])
|
|||||||
|
|
||||||
if( result == 0 )
|
if( result == 0 )
|
||||||
{
|
{
|
||||||
const size_t expectedTestCaseCount = 97; // !TBD factor this out
|
const size_t expectedTestCaseCount = 99; // !TBD factor this out
|
||||||
size_t testCaseCount = runner.getSuccessCount() + runner.getFailureCount();
|
size_t testCaseCount = runner.getSuccessCount() + runner.getFailureCount();
|
||||||
std::cout << "All " << testCaseCount << " tests completed successfully" << std::endl;
|
std::cout << "All " << testCaseCount << " tests completed successfully" << std::endl;
|
||||||
if( testCaseCount != expectedTestCaseCount )
|
if( testCaseCount != expectedTestCaseCount )
|
||||||
|
@ -47,7 +47,7 @@ struct Opaque
|
|||||||
int val;
|
int val;
|
||||||
bool operator ==( const Opaque& o )
|
bool operator ==( const Opaque& o )
|
||||||
{
|
{
|
||||||
return val = o.val;
|
return val == o.val;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user