diff options
author | Abseil Team <absl-team@google.com> | 2018-08-29 08:09:04 (GMT) |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2018-08-31 01:32:54 (GMT) |
commit | 00d1ffc8c85234fb8fe873d1591374289de1356d (patch) | |
tree | c5550317141a2b534b7082b1e7bf3b890ecdf588 /googletest/include/gtest | |
parent | 2cc008538c97189a5130a5598c62574c4972bef4 (diff) | |
download | googletest-00d1ffc8c85234fb8fe873d1591374289de1356d.zip googletest-00d1ffc8c85234fb8fe873d1591374289de1356d.tar.gz googletest-00d1ffc8c85234fb8fe873d1591374289de1356d.tar.bz2 |
Googletest export
Fix the typed test names in the tests for customized typed test parameters.
As required by googletest documentation, the names should not contain an underscore.
PiperOrigin-RevId: 210678652
Diffstat (limited to 'googletest/include/gtest')
-rw-r--r-- | googletest/include/gtest/gtest-typed-test.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/include/gtest/gtest-typed-test.h b/googletest/include/gtest/gtest-typed-test.h index 29b0859..65be699 100644 --- a/googletest/include/gtest/gtest-typed-test.h +++ b/googletest/include/gtest/gtest-typed-test.h @@ -96,7 +96,7 @@ TYPED_TEST(FooTest, HasPropertyA) { ... } // static std::string GetName(int) { // if (std::is_same<T, char>()) return "char"; // if (std::is_same<T, int>()) return "int"; -// if (std::is_same<T, unsigned int>()) return "unsigned_int"; +// if (std::is_same<T, unsigned int>()) return "unsignedInt"; // } // }; // TYPED_TEST_CASE(FooTest, MyTypes, MyTypeNames); |