Commit 44c03643 authored by Copybara-Service's avatar Copybara-Service
Browse files

Merge pull request #4039 from zloylos:fix-return-fail-at-4038

PiperOrigin-RevId: 487516335
Change-Id: Ib475750586fc7e6ab01729f65253e3a86916b994
parents 6b63c98a 6f149520
...@@ -1735,9 +1735,9 @@ class TestWithParam : public Test, public WithParamInterface<T> {}; ...@@ -1735,9 +1735,9 @@ class TestWithParam : public Test, public WithParamInterface<T> {};
#define GTEST_FAIL() GTEST_FATAL_FAILURE_("Failed") #define GTEST_FAIL() GTEST_FATAL_FAILURE_("Failed")
// 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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment