Skip to content

Commit df43ce9

Browse files
committed
Merge pull request #3499 from slowy07:fixing
PiperOrigin-RevId: 386888057
2 parents 96f4ce0 + 2f3e2e3 commit df43ce9

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

googlemock/include/gmock/gmock-matchers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4950,7 +4950,7 @@ Pair(FirstMatcher first_matcher, SecondMatcher second_matcher) {
49504950
namespace no_adl {
49514951
// Conditional() creates a matcher that conditionally uses either the first or
49524952
// second matcher provided. For example, we could create an `equal if, and only
4953-
// if' matcher using the Conditonal wrapper as follows:
4953+
// if' matcher using the Conditional wrapper as follows:
49544954
//
49554955
// EXPECT_THAT(result, Conditional(condition, Eq(expected), Ne(expected)));
49564956
template <typename MatcherTrue, typename MatcherFalse>

googlemock/include/gmock/gmock-spec-builders.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ class GTEST_API_ ExpectationBase {
888888
mutable Mutex mutex_; // Protects action_count_checked_.
889889
}; // class ExpectationBase
890890

891-
// Impements an expectation for the given function type.
891+
// Implements an expectation for the given function type.
892892
template <typename F>
893893
class TypedExpectation : public ExpectationBase {
894894
public:

googlemock/test/gmock-actions_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ TEST(ActionInterfaceTest, MakeAction) {
384384
EXPECT_EQ(5, action.Perform(std::make_tuple(true, 5)));
385385
}
386386

387-
// Tests that Action<F> can be contructed from a pointer to
387+
// Tests that Action<F> can be constructed from a pointer to
388388
// ActionInterface<F>.
389389
TEST(ActionTest, CanBeConstructedFromActionInterface) {
390390
Action<MyGlobalFunction> action(new MyActionImpl);

googletest/src/gtest-death-test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -799,8 +799,8 @@ DeathTest::TestRole WindowsDeathTest::AssumeRole() {
799799
GTEST_DEATH_TEST_CHECK_(
800800
::CreateProcessA(
801801
executable_path, const_cast<char*>(command_line.c_str()),
802-
nullptr, // Retuned process handle is not inheritable.
803-
nullptr, // Retuned thread handle is not inheritable.
802+
nullptr, // Returned process handle is not inheritable.
803+
nullptr, // Returned thread handle is not inheritable.
804804
TRUE, // Child inherits all inheritable handles (for write_handle_).
805805
0x0, // Default creation flags.
806806
nullptr, // Inherit the parent's environment.

googletest/src/gtest.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ const char kStackTraceMarker[] = "\nStack trace:\n";
177177
// is specified on the command line.
178178
bool g_help_flag = false;
179179

180-
// Utilty function to Open File for Writing
180+
// Utility function to Open File for Writing
181181
static FILE* OpenFileForWriting(const std::string& output_file) {
182182
FILE* fileout = nullptr;
183183
FilePath output_file_path(output_file);
@@ -443,7 +443,7 @@ void AssertHelper::operator=(const Message& message) const {
443443
namespace {
444444

445445
// When TEST_P is found without a matching INSTANTIATE_TEST_SUITE_P
446-
// to creates test cases for it, a syntetic test case is
446+
// to creates test cases for it, a synthetic test case is
447447
// inserted to report ether an error or a log message.
448448
//
449449
// This configuration bit will likely be removed at some point.

googletest/test/gtest_unittest.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2017,7 +2017,7 @@ void ExpectNonFatalFailureRecordingPropertyWithReservedKeyOutsideOfTestSuite(
20172017
}
20182018

20192019
// Tests that property recording functions in UnitTest outside of tests
2020-
// functions correcly. Creating a separate instance of UnitTest ensures it
2020+
// functions correctly. Creating a separate instance of UnitTest ensures it
20212021
// is in a state similar to the UnitTest's singleton's between tests.
20222022
class UnitTestRecordPropertyTest :
20232023
public testing::internal::UnitTestRecordPropertyTestHelper {

0 commit comments

Comments
 (0)