GeezerVison is showing github.com — deps: update googletest to 988ea2c1798de7779f656df2281dd36d6039a17a · gabylb/node@0d0139d
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: deps/googletest/include/gtest/internal/gtest-param-util.h +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -601,7 +601,7 @@ class [[nodiscard]] ParameterizedTestSuiteInfo |
601 | 601 |
|
602 | 602 | MakeAndRegisterTestInfo( |
603 | 603 | test_suite_name, test_name.c_str(), |
604 | | - nullptr, // No type parameter. |
| 604 | + /*type_param=*/nullptr, // No type parameter. |
605 | 605 | PrintToString(param).c_str(), test_info->code_location, |
606 | 606 | GetTestSuiteTypeId(), |
607 | 607 | SuiteApiResolver<TestSuite>::GetSetUpCaseOrSuite(file, line), |
|
Collapse file
Copy file name to clipboardExpand all lines: deps/googletest/src/gtest-filepath.cc +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -325,7 +325,7 @@ FilePath FilePath::GenerateUniqueFileName(const FilePath& directory, |
325 | 325 | // This does NOT check that a directory (or file) actually exists. |
326 | 326 | bool FilePath::IsDirectory() const { |
327 | 327 | return !pathname_.empty() && |
328 | | - IsPathSeparator(pathname_.c_str()[pathname_.length() - 1]); |
| 328 | + IsPathSeparator(pathname_[pathname_.length() - 1]); |
329 | 329 | } |
330 | 330 |
|
331 | 331 | // Create directories so that path exists. Returns true if successful or if |
|
Collapse file
Copy file name to clipboardExpand all lines: deps/googletest/src/gtest-port.cc +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -1143,7 +1143,7 @@ static std::string FlagToEnvVar(const char* flag) { |
1143 | 1143 |
|
1144 | 1144 | Message env_var; |
1145 | 1145 | for (size_t i = 0; i != full_flag.length(); i++) { |
1146 | | - env_var << ToUpper(full_flag.c_str()[i]); |
| 1146 | + env_var << ToUpper(full_flag[i]); |
1147 | 1147 | } |
1148 | 1148 |
|
1149 | 1149 | return env_var.GetString(); |
|