diff options
author | Denis Hananein <i@zloylos.me> | 2022-10-15 23:57:22 (GMT) |
---|---|---|
committer | Denis Hananein <i@zloylos.me> | 2022-10-15 23:57:22 (GMT) |
commit | 6f149520a19c0bfd6a70075a733a69cd8b03ae94 (patch) | |
tree | 957e45f31b0bef8bfcda83aea570bf0c563b1237 /googletest | |
parent | a9b2f0495cabb1ff01b51bcd0625cb1fd82da4ce (diff) | |
download | googletest-6f149520a19c0bfd6a70075a733a69cd8b03ae94.zip googletest-6f149520a19c0bfd6a70075a733a69cd8b03ae94.tar.gz googletest-6f149520a19c0bfd6a70075a733a69cd8b03ae94.tar.bz2 |
Add return for GTEST_FAIL_ATrefs/pull/4039/head
Diffstat (limited to 'googletest')
-rw-r--r-- | googletest/include/gtest/gtest.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/googletest/include/gtest/gtest.h b/googletest/include/gtest/gtest.h index 7963e8c..8a7d173 100644 --- a/googletest/include/gtest/gtest.h +++ b/googletest/include/gtest/gtest.h @@ -1735,8 +1735,8 @@ class TestWithParam : public Test, public WithParamInterface<T> {}; // Like GTEST_FAIL(), but at the given source file location. #define GTEST_FAIL_AT(file, line) \ - GTEST_MESSAGE_AT_(file, line, "Failed", \ - ::testing::TestPartResult::kFatalFailure) + return GTEST_MESSAGE_AT_(file, line, "Failed", \ + ::testing::TestPartResult::kFatalFailure) // Define this macro to 1 to omit the definition of FAIL(), which is a // generic name and clashes with some other libraries. |