mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Allow testing ordering to be specified as declaration, lexicographical, or random. Allow random seed to be specified
This commit is contained in:
2
include/external/clara.h
vendored
2
include/external/clara.h
vendored
@@ -791,7 +791,7 @@ namespace Clara {
|
||||
if( it == itEnd ) {
|
||||
if( token.type == Parser::Token::Positional || !m_throwOnUnrecognisedTokens )
|
||||
unusedTokens.push_back( token );
|
||||
else if( m_throwOnUnrecognisedTokens )
|
||||
else if( errors.empty() && m_throwOnUnrecognisedTokens )
|
||||
errors.push_back( "unrecognised option: " + token.data );
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user