]> git-server-git.apps.pok.os.sepia.ceph.com Git - googletest.git/commitdiff
adjust a comment to the similar section in advanced.md
authorKrystian Kuzniarek <krystian.kuzniarek@gmail.com>
Tue, 9 Jul 2019 19:43:00 +0000 (21:43 +0200)
committerKrystian Kuzniarek <krystian.kuzniarek@gmail.com>
Wed, 31 Jul 2019 17:40:10 +0000 (19:40 +0200)
in addition, fix typo of use -> us

googletest/include/gtest/gtest-typed-test.h

index b3319f6827397865489a4972efba94f5df6077e3..25c26134e2ef8462ece007a9293b37d0c0c02c74 100644 (file)
@@ -65,9 +65,9 @@ TYPED_TEST_SUITE(FooTest, MyTypes);
 // Then, use TYPED_TEST() instead of TEST_F() to define as many typed
 // tests for this test suite as you want.
 TYPED_TEST(FooTest, DoesBlah) {
-  // Inside a test, refer to TypeParam to get the type parameter.
-  // Since we are inside a derived class template, C++ requires use to
-  // visit the members of FooTest via 'this'.
+  // Inside a test, refer to the special name TypeParam to get the type
+  // parameter.  Since we are inside a derived class template, C++ requires
+  // us to visit the members of FooTest via 'this'.
   TypeParam n = this->value_;
 
   // To visit static members of the fixture, add the TestFixture::