Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authoranarch2026-09-13 10:09:01 +0530
committerMartin Hořeňovský2026-09-14 13:23:10 +0200
commit889700e9799becb812ebb2c0fcf3b888f975e0ea (patch)
tree89dffc5a7ed95ca281a24e8fcef9729d5fe6a61d /src
parent8e2f6f7a876e127a08b1864d028199d6e0961fc6 (diff)
downloadcatch3-889700e9799becb812ebb2c0fcf3b888f975e0ea.tar.gz
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>
Diffstat (limited to 'src')
-rw-r--r--src/catch2/catch_tostring.hpp2
-rw-r--r--src/catch2/internal/catch_test_case_tracker.cpp2
2 files changed, 2 insertions, 2 deletions
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;