We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6b63c98 + 6f14952 commit 44c0364Copy full SHA for 44c0364
googletest/include/gtest/gtest.h
@@ -1735,9 +1735,9 @@ class TestWithParam : public Test, public WithParamInterface<T> {};
1735
#define GTEST_FAIL() GTEST_FATAL_FAILURE_("Failed")
1736
1737
// Like GTEST_FAIL(), but at the given source file location.
1738
-#define GTEST_FAIL_AT(file, line) \
1739
- GTEST_MESSAGE_AT_(file, line, "Failed", \
1740
- ::testing::TestPartResult::kFatalFailure)
+#define GTEST_FAIL_AT(file, line) \
+ return GTEST_MESSAGE_AT_(file, line, "Failed", \
+ ::testing::TestPartResult::kFatalFailure)
1741
1742
// Define this macro to 1 to omit the definition of FAIL(), which is a
1743
// generic name and clashes with some other libraries.
0 commit comments