Skip to content

Commit 6f14952

Browse files
author
Denis Hananein
committed
Add return for GTEST_FAIL_AT
1 parent a9b2f04 commit 6f14952

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

googletest/include/gtest/gtest.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1735,8 +1735,8 @@ class TestWithParam : public Test, public WithParamInterface<T> {};
17351735

17361736
// Like GTEST_FAIL(), but at the given source file location.
17371737
#define GTEST_FAIL_AT(file, line) \
1738-
GTEST_MESSAGE_AT_(file, line, "Failed", \
1739-
::testing::TestPartResult::kFatalFailure)
1738+
return GTEST_MESSAGE_AT_(file, line, "Failed", \
1739+
::testing::TestPartResult::kFatalFailure)
17401740

17411741
// Define this macro to 1 to omit the definition of FAIL(), which is a
17421742
// generic name and clashes with some other libraries.

0 commit comments

Comments
 (0)