From 0f168a1806c3202b65a62b2d3211fe3e0254fb45 Mon Sep 17 00:00:00 2001 From: "Node.js GitHub Bot" Date: Sun, 11 Oct 2026 01:04:36 +0000 Subject: [PATCH] deps: update googletest to 988ea2c1798de7779f656df2281dd36d6039a17a --- deps/googletest/include/gtest/internal/gtest-param-util.h | 2 +- deps/googletest/src/gtest-filepath.cc | 2 +- deps/googletest/src/gtest-port.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deps/googletest/include/gtest/internal/gtest-param-util.h b/deps/googletest/include/gtest/internal/gtest-param-util.h index 716779346a01..6e8a187c9d60 100644 --- a/deps/googletest/include/gtest/internal/gtest-param-util.h +++ b/deps/googletest/include/gtest/internal/gtest-param-util.h @@ -601,7 +601,7 @@ class [[nodiscard]] ParameterizedTestSuiteInfo MakeAndRegisterTestInfo( test_suite_name, test_name.c_str(), - nullptr, // No type parameter. + /*type_param=*/nullptr, // No type parameter. PrintToString(param).c_str(), test_info->code_location, GetTestSuiteTypeId(), SuiteApiResolver::GetSetUpCaseOrSuite(file, line), diff --git a/deps/googletest/src/gtest-filepath.cc b/deps/googletest/src/gtest-filepath.cc index 902d8c7f64b7..73a352fff0af 100644 --- a/deps/googletest/src/gtest-filepath.cc +++ b/deps/googletest/src/gtest-filepath.cc @@ -325,7 +325,7 @@ FilePath FilePath::GenerateUniqueFileName(const FilePath& directory, // This does NOT check that a directory (or file) actually exists. bool FilePath::IsDirectory() const { return !pathname_.empty() && - IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]); + IsPathSeparator(pathname_[pathname_.length() - 1]); } // Create directories so that path exists. Returns true if successful or if diff --git a/deps/googletest/src/gtest-port.cc b/deps/googletest/src/gtest-port.cc index 68f77f71247b..e37a8bb1746d 100644 --- a/deps/googletest/src/gtest-port.cc +++ b/deps/googletest/src/gtest-port.cc @@ -1143,7 +1143,7 @@ static std::string FlagToEnvVar(const char* flag) { Message env_var; for (size_t i = 0; i != full_flag.length(); i++) { - env_var << ToUpper(full_flag.c_str()[i]); + env_var << ToUpper(full_flag[i]); } return env_var.GetString();