mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Fixed bug with listing test cases
This commit is contained in:
		| @@ -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; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash