diff options
author | yutotnh <57719497+yutotnh@users.noreply.github.com> | 2022-07-01 09:32:49 (GMT) |
---|---|---|
committer | yutotnh <57719497+yutotnh@users.noreply.github.com> | 2022-07-01 09:32:49 (GMT) |
commit | 2cf9987ce3510de36640dcabd3d53db2c09312f6 (patch) | |
tree | cfb462878098f907a941a9122476d633eb36bbc0 /googlemock/test | |
parent | 96f51426e4c776a71d0a446c1e4f4c7a5ea921df (diff) | |
download | googletest-2cf9987ce3510de36640dcabd3d53db2c09312f6.zip googletest-2cf9987ce3510de36640dcabd3d53db2c09312f6.tar.gz googletest-2cf9987ce3510de36640dcabd3d53db2c09312f6.tar.bz2 |
fix: some typos in comment
Diffstat (limited to 'googlemock/test')
-rw-r--r-- | googlemock/test/gmock-actions_test.cc | 4 | ||||
-rw-r--r-- | googlemock/test/gmock-matchers-misc_test.cc | 2 |
2 files changed, 3 insertions, 3 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}; |