[Bug]: A bunch of typos in messages, comments, and docs
Describe the issue
Noticed a bunch of small spelling/grammar mistakes while reading through the code. Nothing functional, just wording.
A few of them show up in actual output:
gtest.cc:"Unknown type parameterized test suit '"should be suitegtest.cc:"code that always depend on"should be depends (golden file updated too)gmock-matchers.h: themax_abs_errorcheck message is missing a space, so it prints something likeis0.5instead ofis 0.5
The rest is comments and docs:
gtest.cc— ether → either, suit name → suite name, realizes → realize, “Returns true off” → “Returns true if”, “an JSON” → “a JSON”gtest-internal-inl.h— more then → more thangtest-param-util.h— other then → other than, plus intatiated / susequently / suits / reporedgtest-internal.h— TestSute → TestSuitegtest.h— “This flags control” → “This flag controls”gtest-string.h— “should not used” → “should not be used”gtest-death-test.cc— doubled “in the”, haven't → hasn't, “The even is unnamed” → eventgtest-port.cc— “obtaining creating” → “creating”gmock-matchers.h— “a optional”, “macros itself”gmock-actions.h— “functions of than one type”gmock-matchers.cc— discrepency → discrepancygmock-matchers-misc_test.cc— “a EqualsSumOfMatcher” → “an …”docs/advanced.md— “a event”, missing period after a linkdocs/gmock_cook_book.md— where → were, “one members”, missing space after a commadocs/platforms.md— “versions compilers”docs/primer.md— “AdvancedGuide” → “Advanced Guide”docs/reference/testing.md— “the the”googletest/README.md—.vcproj→.vcxproj
Please fix.
Steps to reproduce the problem
Reproduce by reading a dictionary
What version of GoogleTest are you using?
91c99b6ffecb6f37ca11c25a0db84007c263c1f2
What operating system and version are you using?
Windows 3.0
What compiler and version are you using?
Using built-in specs. COLLECT_GCC=C:\msys64\\ucrt64\bin\gcc.exe COLLECT_LTO_WRAPPER=C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0/lto-wrapper.exe Target: x86_64-w64-mingw32 Configured with: ../gcc-15.2.0/configure --prefix=/ucrt64 --with-local-prefix=/ucrt64/local --with-native-system-header-dir=/ucrt64/include --libexecdir=/ucrt64/lib --enable-bootstrap --enable-checking=release --with-arch=nocona --with-tune=generic --enable-mingw-wildcard --enable-languages=c,lto,c++,fortran,ada,objc,obj-c++,jit --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-backtrace=yes --enable-libstdcxx-filesystem-ts --enable-libstdcxx-time --disable-libstdcxx-pch --enable-lto --enable-libgomp --disable-libssp --disable-multilib --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-libiconv --with-system-zlib --with-gmp=/ucrt64 --with-mpfr=/ucrt64 --with-mpc=/ucrt64 --with-isl=/ucrt64 --with-pkgversion='Rev8, Built by MSYS2 project' --with-bugurl=https://github.com/msys2/MINGW-packages/issues --with-gnu-as --with-gnu-ld --with-libstdcxx-zoneinfo=yes --disable-libstdcxx-debug --enable-plugin --with-boot-ldflags=-static-libstdc++ --with-stage1-ldflags=-static-libstdc++ Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.2.0 (Rev8, Built by MSYS2 project)
What build system are you using?
cmake version 4.2.1
Additional context
No response
Source: google/googletest