Fixes const int error seen on some compilers (see #136)

Added a new test to try to highlight issue.
This commit is contained in:
Phil Nash
2012-11-16 21:03:59 +00:00
7 changed files with 26 additions and 8 deletions

View File

@@ -37,7 +37,7 @@ TEST_CASE( "selftest/main", "Runs all Catch self tests and checks their results"
SECTION( "selftest/test counts/succeeding tests",
"Number of 'succeeding' tests is fixed" ) {
Totals totals = runner.runMatching( "./succeeding/*" );
CHECK( totals.assertions.passed == 289 );
CHECK( totals.assertions.passed == 293 );
CHECK( totals.assertions.failed == 0 );
}