Skip to content

Commit

Permalink
Merge pull request #4039 from zloylos:fix-return-fail-at-4038
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 487516335
Change-Id: Ib475750586fc7e6ab01729f65253e3a86916b994
  • Loading branch information
copybara-github committed Nov 10, 2022
2 parents 6b63c98 + 6f14952 commit 44c0364
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions googletest/include/gtest/gtest.h
Original file line number Diff line number Diff line change
Expand Up @@ -1735,9 +1735,9 @@ class TestWithParam : public Test, public WithParamInterface<T> {};
#define GTEST_FAIL() GTEST_FATAL_FAILURE_("Failed")

// 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)
#define GTEST_FAIL_AT(file, line) \
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.
Expand Down

0 comments on commit 44c0364

Please sign in to comment.