Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Catch's Travis builds are using gcc that doesn't like the auto keyword

Commit
c7cf0a9f8b4a622ad254cb7f0debbcceab53bb4c
Author
Ben Arnold ·
Parents
7b0a84a048e5

Files · Download .tar.gz

Changes

 projects/SelfTest/MiscTests.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/projects/SelfTest/MiscTests.cpp b/projects/SelfTest/MiscTests.cpp
index 32711555..e425b64a 100644
--- a/projects/SelfTest/MiscTests.cpp
+++ b/projects/SelfTest/MiscTests.cpp
@@ -359,24 +359,24 @@ TEST_CASE( "Tabs and newlines show in output", "[.][whitespace][failing]" ) {
 
 TEST_CASE( "toString on const wchar_t const pointer returns the string contents", "[toString]" ) {
 	const wchar_t * const s = L"wide load";
-	auto result = Catch::toString( s );
+	std::string result = Catch::toString( s );
 	CHECK( result == "\"wide load\"" );
 }
 
 TEST_CASE( "toString on const wchar_t pointer returns the string contents", "[toString]" ) {
 	const wchar_t * s = L"wide load";
-	auto result = Catch::toString( s );
+	std::string result = Catch::toString( s );
 	CHECK( result == "\"wide load\"" );
 }
 
 TEST_CASE( "toString on wchar_t const pointer returns the string contents", "[toString]" ) {
 	wchar_t * const s = L"wide load";
-	auto result = Catch::toString( s );
+	std::string result = Catch::toString( s );
 	CHECK( result == "\"wide load\"" );
 }
 
 TEST_CASE( "toString on wchar_t returns the string contents", "[toString]" ) {
 	wchar_t * s = L"wide load";
-	auto result = Catch::toString( s );
+	std::string result = Catch::toString( s );
 	CHECK( result == "\"wide load\"" );
 }
\ No newline at end of file