Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deps/googletest/include/gtest/internal/gtest-param-util.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<TestSuite>::GetSetUpCaseOrSuite(file, line),
Expand Down
2 changes: 1 addition & 1 deletion deps/googletest/src/gtest-filepath.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion deps/googletest/src/gtest-port.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Loading