Fixed broken meta-test

This commit is contained in:
Phil Nash 2010-11-16 19:48:05 +00:00
parent 7d1ce5fade
commit 5f43a43662
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ int main (int argc, char * const argv[])
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();
std::cout << "All " << testCaseCount << " tests completed successfully" << std::endl;
if( testCaseCount != expectedTestCaseCount )

View File

@ -47,7 +47,7 @@ struct Opaque
int val;
bool operator ==( const Opaque& o )
{
return val = o.val;
return val == o.val;
}
};