diff options
author | Copybara-Service <copybara-worker@google.com> | 2022-07-18 20:29:19 (GMT) |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-07-18 20:29:19 (GMT) |
commit | 91480a4e79ed76e9edb1fa07ef852fd6c92ab924 (patch) | |
tree | 821f3a335182476db20b7b89d1515cda059fab07 /googlemock | |
parent | 760acf30e3b535468f74f4fabd94e2bcca0e17fe (diff) | |
parent | 644a4bea02c478f73325b9125a2b6409f3c55420 (diff) | |
download | googletest-91480a4e79ed76e9edb1fa07ef852fd6c92ab924.zip googletest-91480a4e79ed76e9edb1fa07ef852fd6c92ab924.tar.gz googletest-91480a4e79ed76e9edb1fa07ef852fd6c92ab924.tar.bz2 |
Merge pull request #3927 from yutotnh:fix-typo
PiperOrigin-RevId: 461699509
Change-Id: I9bab4474c5f52d4d66691dfb96a4d20f89fbcfeb
Diffstat (limited to 'googlemock')
-rw-r--r-- | googlemock/test/gmock-actions_test.cc | 4 | ||||
-rw-r--r-- | googlemock/test/gmock-matchers-misc_test.cc | 2 | ||||
-rw-r--r-- | googlemock/test/gmock-spec-builders_test.cc | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/googlemock/test/gmock-actions_test.cc b/googlemock/test/gmock-actions_test.cc index 215495e..e5a7ae1 100644 --- a/googlemock/test/gmock-actions_test.cc +++ b/googlemock/test/gmock-actions_test.cc @@ -466,7 +466,7 @@ TEST(DefaultValueOfReferenceTest, IsInitiallyUnset) { EXPECT_FALSE(DefaultValue<MyNonDefaultConstructible&>::IsSet()); } -// Tests that DefaultValue<T&>::Exists is false initiallly. +// Tests that DefaultValue<T&>::Exists is false initially. TEST(DefaultValueOfReferenceTest, IsInitiallyNotExisting) { EXPECT_FALSE(DefaultValue<int&>::Exists()); EXPECT_FALSE(DefaultValue<MyDefaultConstructible&>::Exists()); @@ -807,7 +807,7 @@ TEST(ReturnTest, MoveOnlyResultType) { ""); } -// Tests that Return(v) is covaraint. +// Tests that Return(v) is covariant. struct Base { bool operator==(const Base&) { return true; } diff --git a/googlemock/test/gmock-matchers-misc_test.cc b/googlemock/test/gmock-matchers-misc_test.cc index c68431c..53f4962 100644 --- a/googlemock/test/gmock-matchers-misc_test.cc +++ b/googlemock/test/gmock-matchers-misc_test.cc @@ -1561,7 +1561,7 @@ TEST(AnyOfArrayTest, Matchers) { } TEST_P(AnyOfArrayTestP, ExplainsMatchResultCorrectly) { - // AnyOfArray and AllOfArry use the same underlying template-template, + // AnyOfArray and AllOfArray use the same underlying template-template, // thus it is sufficient to test one here. const std::vector<int> v0{}; const std::vector<int> v1{1}; diff --git a/googlemock/test/gmock-spec-builders_test.cc b/googlemock/test/gmock-spec-builders_test.cc index 122d5b9..bb0773b 100644 --- a/googlemock/test/gmock-spec-builders_test.cc +++ b/googlemock/test/gmock-spec-builders_test.cc @@ -1064,7 +1064,7 @@ TEST(UnexpectedCallTest, UnmatchedArguments) { // Tests that Google Mock explains that an expectation with // unsatisfied pre-requisites doesn't match the call. -TEST(UnexpectedCallTest, UnsatisifiedPrerequisites) { +TEST(UnexpectedCallTest, UnsatisfiedPrerequisites) { Sequence s1, s2; MockB b; EXPECT_CALL(b, DoB(1)).InSequence(s1); |