summaryrefslogtreecommitdiffstats
path: root/googletest
diff options
context:
space:
mode:
authorKrystian Kuzniarek <krystian.kuzniarek@gmail.com>2019-07-09 19:43:00 (GMT)
committerKrystian Kuzniarek <krystian.kuzniarek@gmail.com>2019-07-31 17:40:10 (GMT)
commit96c851d051c154257e6a0f263fdd9dc7e1e58203 (patch)
tree1426a39cb97a7fcdd04f226d1dbbb46c5a6c3a7b /googletest
parent437e1008c97b6bf595fec85da42c6925babd96b2 (diff)
downloadgoogletest-96c851d051c154257e6a0f263fdd9dc7e1e58203.zip
googletest-96c851d051c154257e6a0f263fdd9dc7e1e58203.tar.gz
googletest-96c851d051c154257e6a0f263fdd9dc7e1e58203.tar.bz2
adjust a comment to the similar section in advanced.mdrefs/pull/2358/head
in addition, fix typo of use -> us
Diffstat (limited to 'googletest')
-rw-r--r--googletest/include/gtest/gtest-typed-test.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/googletest/include/gtest/gtest-typed-test.h b/googletest/include/gtest/gtest-typed-test.h
index b3319f6..25c2613 100644
--- a/googletest/include/gtest/gtest-typed-test.h
+++ b/googletest/include/gtest/gtest-typed-test.h
@@ -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::