aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtest.cc
diff options
context:
space:
mode:
authorkosak <kosak@google.com>2014-06-18 00:22:42 +0000
committerkosak <kosak@google.com>2014-06-18 00:22:42 +0000
commit96ddffe8fdabccb10fb693a54dcb88bd5b71bc09 (patch)
treece5d8e5647e5c70cd0b052ad548ae94ae20431bb /src/gtest.cc
parent21ee8a2e72871ca50148657bc217e9b838dcd903 (diff)
downloadgoogletest-96ddffe8fdabccb10fb693a54dcb88bd5b71bc09.tar.gz
googletest-96ddffe8fdabccb10fb693a54dcb88bd5b71bc09.tar.bz2
googletest-96ddffe8fdabccb10fb693a54dcb88bd5b71bc09.zip
Reduce the number of occurrences of gendered pronouns in gtest.
Diffstat (limited to 'src/gtest.cc')
-rw-r--r--src/gtest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gtest.cc b/src/gtest.cc
index 408e6f2c..ca3596eb 100644
--- a/src/gtest.cc
+++ b/src/gtest.cc
@@ -1962,8 +1962,8 @@ bool Test::HasSameFixtureClass() {
const bool this_is_TEST = this_fixture_id == internal::GetTestTypeId();
if (first_is_TEST || this_is_TEST) {
- // The user mixed TEST and TEST_F in this test case - we'll tell
- // him/her how to fix it.
+ // Both TEST and TEST_F appear in same test case, which is incorrect.
+ // Tell the user how to fix this.
// Gets the name of the TEST and the name of the TEST_F. Note
// that first_is_TEST and this_is_TEST cannot both be true, as
@@ -1983,8 +1983,8 @@ bool Test::HasSameFixtureClass() {
<< "want to change the TEST to TEST_F or move it to another test\n"
<< "case.";
} else {
- // The user defined two fixture classes with the same name in
- // two namespaces - we'll tell him/her how to fix it.
+ // Two fixture classes with the same name appear in two different
+ // namespaces, which is not allowed. Tell the user how to fix this.
ADD_FAILURE()
<< "All tests in the same test case must use the same test fixture\n"
<< "class. However, in test case "