diff options
author | Abseil Team <absl-team@google.com> | 2018-08-29 04:09:04 -0400 |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2018-08-30 21:32:54 -0400 |
commit | 00d1ffc8c85234fb8fe873d1591374289de1356d (patch) | |
tree | c5550317141a2b534b7082b1e7bf3b890ecdf588 /googletest/include/gtest/gtest-typed-test.h | |
parent | 2cc008538c97189a5130a5598c62574c4972bef4 (diff) | |
download | googletest-00d1ffc8c85234fb8fe873d1591374289de1356d.tar.gz googletest-00d1ffc8c85234fb8fe873d1591374289de1356d.tar.bz2 googletest-00d1ffc8c85234fb8fe873d1591374289de1356d.zip |
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/gtest-typed-test.h')
-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 29b08599..65be6998 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); |