summaryrefslogtreecommitdiffstats
path: root/googlemock/test/gmock-matchers_test.cc
diff options
context:
space:
mode:
authorGennadiy Civil <misterg@google.com>2019-07-30 22:47:55 (GMT)
committerGennadiy Civil <misterg@google.com>2019-07-30 22:47:55 (GMT)
commit9311242db422dd6f24c8e764847fe5d70d0d4859 (patch)
tree46476749af3ee455671a07764be6c54b8a065a43 /googlemock/test/gmock-matchers_test.cc
parent0647b90eebfbe98d7bba3aa700b65752c3695c79 (diff)
parentbf6df7eaee5cfaafe2655fab143f348eba98c9af (diff)
downloadgoogletest-9311242db422dd6f24c8e764847fe5d70d0d4859.zip
googletest-9311242db422dd6f24c8e764847fe5d70d0d4859.tar.gz
googletest-9311242db422dd6f24c8e764847fe5d70d0d4859.tar.bz2
Merge pull request #2356 from kuzkry:typos
PiperOrigin-RevId: 260786935
Diffstat (limited to 'googlemock/test/gmock-matchers_test.cc')
-rw-r--r--googlemock/test/gmock-matchers_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/googlemock/test/gmock-matchers_test.cc b/googlemock/test/gmock-matchers_test.cc
index 89ad335..74e9294 100644
--- a/googlemock/test/gmock-matchers_test.cc
+++ b/googlemock/test/gmock-matchers_test.cc
@@ -956,7 +956,7 @@ TEST(TypedEqTest, CanDescribeSelf) {
// Tests that TypedEq<T>(v) has type Matcher<T>.
-// Type<T>::IsTypeOf(v) compiles iff the type of value v is T, where T
+// Type<T>::IsTypeOf(v) compiles if the type of value v is T, where T
// is a "bare" type (i.e. not in the form of const U or U&). If v's
// type is not T, the compiler will generate a message about
// "undefined reference".
@@ -2640,7 +2640,7 @@ class IsGreaterThan {
// For testing Truly().
const int foo = 0;
-// This predicate returns true iff the argument references foo and has
+// This predicate returns true if the argument references foo and has
// a zero value.
bool ReferencesFooAndIsZero(const int& n) {
return (&n == &foo) && (n == 0);
@@ -3594,7 +3594,7 @@ class Uncopyable {
GTEST_DISALLOW_COPY_AND_ASSIGN_(Uncopyable);
};
-// Returns true iff x.value() is positive.
+// Returns true if x.value() is positive.
bool ValueIsPositive(const Uncopyable& x) { return x.value() > 0; }
MATCHER_P(UncopyableIs, inner_matcher, "") {