aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/src/gmock-internal-utils.cc
diff options
context:
space:
mode:
authorGennadiy Civil <misterg@google.com>2019-07-30 18:47:55 -0400
committerGennadiy Civil <misterg@google.com>2019-07-30 18:47:55 -0400
commit9311242db422dd6f24c8e764847fe5d70d0d4859 (patch)
tree46476749af3ee455671a07764be6c54b8a065a43 /googlemock/src/gmock-internal-utils.cc
parent0647b90eebfbe98d7bba3aa700b65752c3695c79 (diff)
parentbf6df7eaee5cfaafe2655fab143f348eba98c9af (diff)
downloadgoogletest-9311242db422dd6f24c8e764847fe5d70d0d4859.tar.gz
googletest-9311242db422dd6f24c8e764847fe5d70d0d4859.tar.bz2
googletest-9311242db422dd6f24c8e764847fe5d70d0d4859.zip
Merge pull request #2356 from kuzkry:typos
PiperOrigin-RevId: 260786935
Diffstat (limited to 'googlemock/src/gmock-internal-utils.cc')
-rw-r--r--googlemock/src/gmock-internal-utils.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/googlemock/src/gmock-internal-utils.cc b/googlemock/src/gmock-internal-utils.cc
index 15946623..1292e1d8 100644
--- a/googlemock/src/gmock-internal-utils.cc
+++ b/googlemock/src/gmock-internal-utils.cc
@@ -123,7 +123,7 @@ GTEST_API_ FailureReporterInterface* GetFailureReporter() {
// Protects global resources (stdout in particular) used by Log().
static GTEST_DEFINE_STATIC_MUTEX_(g_log_mutex);
-// Returns true iff a log with the given severity is visible according
+// Returns true if a log with the given severity is visible according
// to the --gmock_verbose flag.
GTEST_API_ bool LogIsVisible(LogSeverity severity) {
if (GMOCK_FLAG(verbose) == kInfoVerbosity) {
@@ -139,7 +139,7 @@ GTEST_API_ bool LogIsVisible(LogSeverity severity) {
}
}
-// Prints the given message to stdout iff 'severity' >= the level
+// Prints the given message to stdout if 'severity' >= the level
// specified by the --gmock_verbose flag. If stack_frames_to_skip >=
// 0, also prints the stack trace excluding the top
// stack_frames_to_skip frames. In opt mode, any positive