Add return for GTEST_FAIL_AT
This commit is contained in:
		@@ -1735,8 +1735,8 @@ class TestWithParam : public Test, public WithParamInterface<T> {};
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
// Like GTEST_FAIL(), but at the given source file location.
 | 
					// Like GTEST_FAIL(), but at the given source file location.
 | 
				
			||||||
#define GTEST_FAIL_AT(file, line)         \
 | 
					#define GTEST_FAIL_AT(file, line)         \
 | 
				
			||||||
  GTEST_MESSAGE_AT_(file, line, "Failed", \
 | 
					  return GTEST_MESSAGE_AT_(file, line, "Failed", \
 | 
				
			||||||
                    ::testing::TestPartResult::kFatalFailure)
 | 
					                           ::testing::TestPartResult::kFatalFailure)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Define this macro to 1 to omit the definition of FAIL(), which is a
 | 
					// Define this macro to 1 to omit the definition of FAIL(), which is a
 | 
				
			||||||
// generic name and clashes with some other libraries.
 | 
					// generic name and clashes with some other libraries.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user