diff --git a/googletest/docs/advanced.md b/googletest/docs/advanced.md index 9bca0747..ecfdaf53 100644 --- a/googletest/docs/advanced.md +++ b/googletest/docs/advanced.md @@ -1538,7 +1538,7 @@ template class FooTest : public ::testing::Test { public: ... - typedef std::list List; + using List = std::list; static T shared_; T value_; }; @@ -1642,7 +1642,7 @@ put the above code in a header file, you can `#include` it in multiple C++ source files and instantiate it multiple times. ```c++ -typedef ::testing::Types MyTypes; +using MyTypes = ::testing::Types; INSTANTIATE_TYPED_TEST_SUITE_P(My, FooTest, MyTypes); ```