diff options
author | kosak <kosak@google.com> | 2014-11-17 02:28:09 +0000 |
---|---|---|
committer | kosak <kosak@google.com> | 2014-11-17 02:28:09 +0000 |
commit | e330b754cbd4b23a160521e05ff1014ed576378b (patch) | |
tree | 28b5e9e95b8aae5655a917c2e4ef9c0e7dbb989d /include/gtest/internal/gtest-internal.h | |
parent | 074ed8c8ea5732a71748e41e95e2d7e17d782302 (diff) | |
download | googletest-e330b754cbd4b23a160521e05ff1014ed576378b.tar.gz googletest-e330b754cbd4b23a160521e05ff1014ed576378b.tar.bz2 googletest-e330b754cbd4b23a160521e05ff1014ed576378b.zip |
Strip trailing whitespace when stringifying type lists.
Diffstat (limited to 'include/gtest/internal/gtest-internal.h')
-rw-r--r-- | include/gtest/internal/gtest-internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gtest/internal/gtest-internal.h b/include/gtest/internal/gtest-internal.h index 21a0f567..ba7175cf 100644 --- a/include/gtest/internal/gtest-internal.h +++ b/include/gtest/internal/gtest-internal.h @@ -612,7 +612,7 @@ class TypeParameterizedTest { MakeAndRegisterTestInfo( (std::string(prefix) + (prefix[0] == '\0' ? "" : "/") + case_name + "/" + StreamableToString(index)).c_str(), - GetPrefixUntilComma(test_names).c_str(), + StripTrailingSpaces(GetPrefixUntilComma(test_names)).c_str(), GetTypeName<Type>().c_str(), NULL, // No value parameter. GetTypeId<FixtureClass>(), |