Fixed TestMain after recent refactorings

This commit is contained in:
Phil Nash 2011-01-05 21:07:20 +00:00
parent 4220fb6267
commit b87a16d11a
3 changed files with 8 additions and 12 deletions

View file

@ -147,7 +147,7 @@ namespace Catch
case modeReport:
if( m_args.size() != 1 )
return setErrorMode( m_command + " expected one argument, recieved: " + argsAsString() );
m_config.setReporterInfo( m_args[0] );
m_config.setReporter( m_args[0] );
break;
case modeOutput:
if( m_args.size() == 0 )