chore: fix some typos in comments (#2282)
Signed-off-by: bigmoonbit <bigmoonbit@outlook.com>
diff --git a/test/gtest/include/gtest/gtest-printers.h b/test/gtest/include/gtest/gtest-printers.h
index a91e8b8..cec2859 100644
--- a/test/gtest/include/gtest/gtest-printers.h
+++ b/test/gtest/include/gtest/gtest-printers.h
@@ -993,7 +993,7 @@
// NUL-terminated string.
template <typename T>
void UniversalPrint(const T& value, ::std::ostream* os) {
- // A workarond for the bug in VC++ 7.1 that prevents us from instantiating
+ // A workaround for the bug in VC++ 7.1 that prevents us from instantiating
// UniversalPrinter with T directly.
typedef T T1;
UniversalPrinter<T1>::Print(value, os);
diff --git a/test/gtest/include/gtest/internal/gtest-param-util.h b/test/gtest/include/gtest/internal/gtest-param-util.h
index e7af2f9..ffa0d4f 100644
--- a/test/gtest/include/gtest/internal/gtest-param-util.h
+++ b/test/gtest/include/gtest/internal/gtest-param-util.h
@@ -753,7 +753,7 @@
};
// Keep track of what type-parameterized test suite are defined and
-// where as well as which are intatiated. This allows susequently
+// where as well as which are intatiated. This allows subsequently
// identifying suits that are defined but never used.
class TypeParameterizedTestSuiteRegistry {
public:
@@ -764,7 +764,7 @@
// Add an instantiation of a suit.
void RegisterInstantiation(const char* test_suite_name);
- // For each suit repored as defined but not reported as instantiation,
+ // For each suit reported as defined but not reported as instantiation,
// emit a test that reports that fact (configurably, as an error).
void CheckForInstantiations();