Skip to content

Commit 04323fd

Browse files
nodejs-github-botrichardlau
authored andcommitted
deps: update googletest to 530d5c8
PR-URL: #51191 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent 65df2c6 commit 04323fd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

deps/googletest/include/gtest/gtest.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1751,6 +1751,7 @@ class TestWithParam : public Test, public WithParamInterface<T> {};
17511751
// generic name and clashes with some other libraries.
17521752
#if !(defined(GTEST_DONT_DEFINE_FAIL) && GTEST_DONT_DEFINE_FAIL)
17531753
#define FAIL() GTEST_FAIL()
1754+
#define FAIL_AT(file, line) GTEST_FAIL_AT(file, line)
17541755
#endif
17551756

17561757
// Generates a success with a generic message.

deps/googletest/src/gtest.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6203,8 +6203,8 @@ void UnitTestImpl::ListTestsMatchingFilter() {
62036203
#if GTEST_HAS_FILE_SYSTEM
62046204
const std::string& output_format = UnitTestOptions::GetOutputFormat();
62056205
if (output_format == "xml" || output_format == "json") {
6206-
FILE* fileout = OpenFileForWriting(
6207-
UnitTestOptions::GetAbsolutePathToOutputFile().c_str());
6206+
FILE* fileout =
6207+
OpenFileForWriting(UnitTestOptions::GetAbsolutePathToOutputFile());
62086208
std::stringstream stream;
62096209
if (output_format == "xml") {
62106210
XmlUnitTestResultPrinter(

0 commit comments

Comments
 (0)