Skip to content

Commit c1fa5e1

Browse files
authored
chore: fix some typos in comments (#2282)
Signed-off-by: bigmoonbit <bigmoonbit@outlook.com>
1 parent 8479673 commit c1fa5e1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/gtest/include/gtest/gtest-printers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,7 @@ void UniversalTersePrint(const T& value, ::std::ostream* os) {
993993
// NUL-terminated string.
994994
template <typename T>
995995
void UniversalPrint(const T& value, ::std::ostream* os) {
996-
// A workarond for the bug in VC++ 7.1 that prevents us from instantiating
996+
// A workaround for the bug in VC++ 7.1 that prevents us from instantiating
997997
// UniversalPrinter with T directly.
998998
typedef T T1;
999999
UniversalPrinter<T1>::Print(value, os);

test/gtest/include/gtest/internal/gtest-param-util.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ class ParameterizedTestSuiteRegistry {
753753
};
754754

755755
// Keep track of what type-parameterized test suite are defined and
756-
// where as well as which are intatiated. This allows susequently
756+
// where as well as which are intatiated. This allows subsequently
757757
// identifying suits that are defined but never used.
758758
class TypeParameterizedTestSuiteRegistry {
759759
public:
@@ -764,7 +764,7 @@ class TypeParameterizedTestSuiteRegistry {
764764
// Add an instantiation of a suit.
765765
void RegisterInstantiation(const char* test_suite_name);
766766

767-
// For each suit repored as defined but not reported as instantiation,
767+
// For each suit reported as defined but not reported as instantiation,
768768
// emit a test that reports that fact (configurably, as an error).
769769
void CheckForInstantiations();
770770

0 commit comments

Comments
 (0)