Commit 9311242d authored by Gennadiy Civil's avatar Gennadiy Civil
Browse files

Merge pull request #2356 from kuzkry:typos

PiperOrigin-RevId: 260786935
parents 0647b90e bf6df7ea
...@@ -215,10 +215,10 @@ class Subprocess: ...@@ -215,10 +215,10 @@ class Subprocess:
Returns: Returns:
An object that represents outcome of the executed process. It has the An object that represents outcome of the executed process. It has the
following attributes: following attributes:
terminated_by_signal True iff the child process has been terminated terminated_by_signal True if the child process has been terminated
by a signal. by a signal.
signal Sygnal that terminated the child process. signal Sygnal that terminated the child process.
exited True iff the child process exited normally. exited True if the child process exited normally.
exit_code The code with which the child process exited. exit_code The code with which the child process exited.
output Child process's stdout and stderr output output Child process's stdout and stderr output
combined in a string. combined in a string.
......
...@@ -2167,12 +2167,12 @@ static Environment* record_property_env GTEST_ATTRIBUTE_UNUSED_ = ...@@ -2167,12 +2167,12 @@ static Environment* record_property_env GTEST_ATTRIBUTE_UNUSED_ =
// First, some predicates and predicate-formatters needed by the tests. // First, some predicates and predicate-formatters needed by the tests.
// Returns true iff the argument is an even number. // Returns true if the argument is an even number.
bool IsEven(int n) { bool IsEven(int n) {
return (n % 2) == 0; return (n % 2) == 0;
} }
// A functor that returns true iff the argument is an even number. // A functor that returns true if the argument is an even number.
struct IsEvenFunctor { struct IsEvenFunctor {
bool operator()(int n) { return IsEven(n); } bool operator()(int n) { return IsEven(n); }
}; };
...@@ -2216,12 +2216,12 @@ struct AssertIsEvenFunctor { ...@@ -2216,12 +2216,12 @@ struct AssertIsEvenFunctor {
} }
}; };
// Returns true iff the sum of the arguments is an even number. // Returns true if the sum of the arguments is an even number.
bool SumIsEven2(int n1, int n2) { bool SumIsEven2(int n1, int n2) {
return IsEven(n1 + n2); return IsEven(n1 + n2);
} }
// A functor that returns true iff the sum of the arguments is an even // A functor that returns true if the sum of the arguments is an even
// number. // number.
struct SumIsEven3Functor { struct SumIsEven3Functor {
bool operator()(int n1, int n2, int n3) { bool operator()(int n1, int n2, int n3) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment