mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 03:43:28 +01:00
Fixed bug with listing test cases
This commit is contained in:
parent
01f3dfffbc
commit
1b96cec8f2
@ -28,7 +28,7 @@ namespace Catch
|
||||
for(; it != itEnd; ++it )
|
||||
{
|
||||
// !TBD: consider listAs()
|
||||
std::cout << "\t" << it->first << " '" << it->second->getDescription() << "'\n";
|
||||
std::cout << "\t" << it->first << "\n\t\t'" << it->second->getDescription() << "'\n";
|
||||
}
|
||||
std::cout << std::endl;
|
||||
}
|
||||
@ -40,7 +40,7 @@ namespace Catch
|
||||
for(; it != itEnd; ++it )
|
||||
{
|
||||
// !TBD: consider listAs()
|
||||
std::cout << "\t" << it->getName() << " '" << it->getDescription() << "'\n";
|
||||
std::cout << "\t" << it->getName() << "\n\t\t '" << it->getDescription() << "'\n";
|
||||
}
|
||||
std::cout << std::endl;
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<TestCaseInfo> getAllTests() const
|
||||
const std::vector<TestCaseInfo>& getAllTests() const
|
||||
{
|
||||
return m_functionsInOrder;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user