fix: typo codespelling comment
This commit is contained in:
@@ -4950,7 +4950,7 @@ Pair(FirstMatcher first_matcher, SecondMatcher second_matcher) {
|
||||
namespace no_adl {
|
||||
// Conditional() creates a matcher that conditionally uses either the first or
|
||||
// second matcher provided. For example, we could create an `equal if, and only
|
||||
// if' matcher using the Conditonal wrapper as follows:
|
||||
// if' matcher using the Conditional wrapper as follows:
|
||||
//
|
||||
// EXPECT_THAT(result, Conditional(condition, Eq(expected), Ne(expected)));
|
||||
template <typename MatcherTrue, typename MatcherFalse>
|
||||
|
||||
@@ -888,7 +888,7 @@ class GTEST_API_ ExpectationBase {
|
||||
mutable Mutex mutex_; // Protects action_count_checked_.
|
||||
}; // class ExpectationBase
|
||||
|
||||
// Impements an expectation for the given function type.
|
||||
// Implements an expectation for the given function type.
|
||||
template <typename F>
|
||||
class TypedExpectation : public ExpectationBase {
|
||||
public:
|
||||
|
||||
@@ -384,7 +384,7 @@ TEST(ActionInterfaceTest, MakeAction) {
|
||||
EXPECT_EQ(5, action.Perform(std::make_tuple(true, 5)));
|
||||
}
|
||||
|
||||
// Tests that Action<F> can be contructed from a pointer to
|
||||
// Tests that Action<F> can be constructed from a pointer to
|
||||
// ActionInterface<F>.
|
||||
TEST(ActionTest, CanBeConstructedFromActionInterface) {
|
||||
Action<MyGlobalFunction> action(new MyActionImpl);
|
||||
|
||||
Reference in New Issue
Block a user