aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/src/gmock-matchers.cc
diff options
context:
space:
mode:
authorGennadiy Civil <gennadiycivil@users.noreply.github.com>2018-02-12 16:57:08 -0500
committerGitHub <noreply@github.com>2018-02-12 16:57:08 -0500
commit9d1a80c0fbc03d8c824e0263d27d419b38b61bf4 (patch)
treef34e07e2970e08d06e5efcc993198ad844c19c19 /googlemock/src/gmock-matchers.cc
parent222607a019638b104f67b5bd6cf7572a091500b2 (diff)
parent1a7732a488850da770943e78ccd6de42985564a1 (diff)
downloadgoogletest-9d1a80c0fbc03d8c824e0263d27d419b38b61bf4.tar.gz
googletest-9d1a80c0fbc03d8c824e0263d27d419b38b61bf4.tar.bz2
googletest-9d1a80c0fbc03d8c824e0263d27d419b38b61bf4.zip
Merge pull request #1452 from gennadiycivil/master
moving JoinAsTuple to internal
Diffstat (limited to 'googlemock/src/gmock-matchers.cc')
-rw-r--r--googlemock/src/gmock-matchers.cc19
1 files changed, 0 insertions, 19 deletions
diff --git a/googlemock/src/gmock-matchers.cc b/googlemock/src/gmock-matchers.cc
index 6e40e5e8..f37d5c2d 100644
--- a/googlemock/src/gmock-matchers.cc
+++ b/googlemock/src/gmock-matchers.cc
@@ -100,25 +100,6 @@ Matcher<StringPiece>::Matcher(StringPiece s) {
namespace internal {
-// Joins a vector of strings as if they are fields of a tuple; returns
-// the joined string.
-GTEST_API_ string JoinAsTuple(const Strings& fields) {
- switch (fields.size()) {
- case 0:
- return "";
- case 1:
- return fields[0];
- default:
- string result = "(" + fields[0];
- for (size_t i = 1; i < fields.size(); i++) {
- result += ", ";
- result += fields[i];
- }
- result += ")";
- return result;
- }
-}
-
// Returns the description for a matcher defined using the MATCHER*()
// macro where the user-supplied description string is "", if
// 'negation' is false; otherwise returns the description of the