From c1fa5e1710d09d17d3a72b8b04110d30af93ec56 Mon Sep 17 00:00:00 2001 From: bigmoonbit Date: Fri, 28 Nov 2025 09:34:18 +0800 Subject: [PATCH] chore: fix some typos in comments (#2282) Signed-off-by: bigmoonbit --- test/gtest/include/gtest/gtest-printers.h | 2 +- test/gtest/include/gtest/internal/gtest-param-util.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 @@ void UniversalTersePrint(const T& value, ::std::ostream* os) { // NUL-terminated string. template 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::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 @@ class ParameterizedTestSuiteRegistry { }; // 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 @@ class TypeParameterizedTestSuiteRegistry { // 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();