This commit is contained in:
Phil Nash 2016-05-10 19:09:59 +01:00
parent 1ebebd4ab8
commit ebf9f3bb9d
3 changed files with 14 additions and 12 deletions

View file

@ -1,6 +1,6 @@
/*
* Catch v1.5.2
* Generated: 2016-05-07 23:13:51.221005
* Catch v1.5.3
* Generated: 2016-05-10 19:09:28.805441
* ----------------------------------------------------------
* This file has been merged from multiple headers. Please don't edit it directly
* Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved.
@ -6480,13 +6480,15 @@ namespace Catch {
it != itEnd;
++it ) {
std::pair<std::set<TestCase>::const_iterator, bool> prev = seenFunctions.insert( *it );
if( !prev.second ){
Catch::cerr()
<< Colour( Colour::Red )
<< "error: TEST_CASE( \"" << it->name << "\" ) already defined.\n"
<< "\tFirst seen at " << prev.first->getTestCaseInfo().lineInfo << "\n"
<< "\tRedefined at " << it->getTestCaseInfo().lineInfo << std::endl;
exit(1);
if( !prev.second ) {
std::ostringstream ss;
ss << Colour( Colour::Red )
<< "error: TEST_CASE( \"" << it->name << "\" ) already defined.\n"
<< "\tFirst seen at " << prev.first->getTestCaseInfo().lineInfo << "\n"
<< "\tRedefined at " << it->getTestCaseInfo().lineInfo << std::endl;
throw std::runtime_error(ss.str());
}
}
}
@ -7545,7 +7547,7 @@ namespace Catch {
return os;
}
Version libraryVersion( 1, 5, 2, "", 0 );
Version libraryVersion( 1, 5, 3, "", 0 );
}