Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Fix typos in comments

Three misspellings in comments: "reuired" -> "required",
"ambigous" -> "ambiguous", "neccessarily" -> "necessarily".

Per docs/contributing.md, the amalgamated files under extras/ are left
untouched even though they carry the same typos.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Commit
889700e9799becb812ebb2c0fcf3b888f975e0ea
Author
anarch ·
Committer
Martin Hořeňovský
Parents
8e2f6f7a876e

Files · Download .tar.gz

Changes

 CMake/Findcodecov.cmake                         | 2 +-
 src/catch2/catch_tostring.hpp                   | 2 +-
 src/catch2/internal/catch_test_case_tracker.cpp | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/CMake/Findcodecov.cmake b/CMake/Findcodecov.cmake
index 2c0f2fee..39deee89 100644
--- a/CMake/Findcodecov.cmake
+++ b/CMake/Findcodecov.cmake
@@ -68,7 +68,7 @@ endif ()
 
 
 
-# Find the reuired flags foreach language.
+# Find the required flags foreach language.
 set(CMAKE_REQUIRED_QUIET_SAVE ${CMAKE_REQUIRED_QUIET})
 set(CMAKE_REQUIRED_QUIET ${codecov_FIND_QUIETLY})
 
diff --git a/src/catch2/catch_tostring.hpp b/src/catch2/catch_tostring.hpp
index e421b8b5..ebcec1b8 100644
--- a/src/catch2/catch_tostring.hpp
+++ b/src/catch2/catch_tostring.hpp
@@ -386,7 +386,7 @@ namespace Catch {
 
 #if defined( CATCH_CONFIG_ENABLE_OPTIONAL_STRINGMAKER ) && \
     defined( CATCH_CONFIG_CPP17_OPTIONAL ) &&              \
-    /* P3168 turned optional into a range, making this ambigous with the range support */ \
+    /* P3168 turned optional into a range, making this ambiguous with the range support */ \
     !defined( __cpp_lib_optional_range_support )
 #include <optional>
 namespace Catch {
diff --git a/src/catch2/internal/catch_test_case_tracker.cpp b/src/catch2/internal/catch_test_case_tracker.cpp
index 864cf11b..b995c602 100644
--- a/src/catch2/internal/catch_test_case_tracker.cpp
+++ b/src/catch2/internal/catch_test_case_tracker.cpp
@@ -169,7 +169,7 @@ namespace TestCaseTracking {
 
     bool SectionTracker::isFilteredImpl() const {
         // TBD: This is currently _very_ similar to the block in `isComplete`.
-        //      Is this neccessarily that way, or just accident of current semantics?
+        //      Is this necessarily that way, or just accident of current semantics?
         const size_t filterIndex =
             m_newStyleFilters ? m_allTrackerDepth : m_sectionOnlyDepth;