changed remaining cmd line checks to cmd.raiseError

This commit is contained in:
Phil Nash 2012-06-03 19:03:17 +01:00
parent 8d02b9306d
commit 535edcb73b
2 changed files with 11 additions and 11 deletions

View file

@ -112,7 +112,7 @@ TEST_CASE( "selftest/parser", "" ) {
Catch::Config config;
CHECK( parseIntoConfig( argv, config ) == false );
REQUIRE_THAT( config.getMessage(), Contains( "none" ) );
REQUIRE_THAT( config.getMessage(), Contains( "at least one" ) );
}
}