mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
deps: update googletest to 530d5c8
PR-URL: https://github.com/nodejs/node/pull/51191 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
parent
202c87222c
commit
1674ceaf05
1
deps/googletest/include/gtest/gtest.h
vendored
1
deps/googletest/include/gtest/gtest.h
vendored
@ -1751,6 +1751,7 @@ class TestWithParam : public Test, public WithParamInterface<T> {};
|
||||
// generic name and clashes with some other libraries.
|
||||
#if !(defined(GTEST_DONT_DEFINE_FAIL) && GTEST_DONT_DEFINE_FAIL)
|
||||
#define FAIL() GTEST_FAIL()
|
||||
#define FAIL_AT(file, line) GTEST_FAIL_AT(file, line)
|
||||
#endif
|
||||
|
||||
// Generates a success with a generic message.
|
||||
|
4
deps/googletest/src/gtest.cc
vendored
4
deps/googletest/src/gtest.cc
vendored
@ -6203,8 +6203,8 @@ void UnitTestImpl::ListTestsMatchingFilter() {
|
||||
#if GTEST_HAS_FILE_SYSTEM
|
||||
const std::string& output_format = UnitTestOptions::GetOutputFormat();
|
||||
if (output_format == "xml" || output_format == "json") {
|
||||
FILE* fileout = OpenFileForWriting(
|
||||
UnitTestOptions::GetAbsolutePathToOutputFile().c_str());
|
||||
FILE* fileout =
|
||||
OpenFileForWriting(UnitTestOptions::GetAbsolutePathToOutputFile());
|
||||
std::stringstream stream;
|
||||
if (output_format == "xml") {
|
||||
XmlUnitTestResultPrinter(
|
||||
|
Loading…
Reference in New Issue
Block a user