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

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2
diff options
context:
space:
mode:
authorVertexwahn2023-04-25 20:14:27 +0200
committerMartin Hořeňovský2023-04-29 12:55:51 +0200
commit46539b6d9b1d429fcc2261d3e687482c878a9ddb (patch)
treeae47f128b025a199d0dc61efcaeb193a98338039 /src/catch2
parent10596b22781f03df3d35f34187213f6f8709e453 (diff)
downloadcatch3-46539b6d9b1d429fcc2261d3e687482c878a9ddb.tar.gz
Fix spelling
Diffstat (limited to 'src/catch2')
-rw-r--r--src/catch2/catch_config.cpp2
-rw-r--r--src/catch2/catch_user_config.hpp.in2
-rw-r--r--src/catch2/interfaces/catch_interfaces_reporter.hpp2
-rw-r--r--src/catch2/internal/catch_test_case_tracker.hpp2
-rw-r--r--src/catch2/internal/catch_textflow.hpp2
-rw-r--r--src/catch2/matchers/catch_matchers_range_equals.hpp2
-rw-r--r--src/catch2/reporters/catch_reporter_cumulative_base.hpp2
7 files changed, 7 insertions, 7 deletions
diff --git a/src/catch2/catch_config.cpp b/src/catch2/catch_config.cpp
index eb4f5ad3..34f50f17 100644
--- a/src/catch2/catch_config.cpp
+++ b/src/catch2/catch_config.cpp
@@ -105,7 +105,7 @@ namespace Catch {
elem = trim(elem);
}
- // Insert the default reporter if user hasn't asked for a specfic one
+ // Insert the default reporter if user hasn't asked for a specific one
if ( m_data.reporterSpecifications.empty() ) {
m_data.reporterSpecifications.push_back( {
#if defined( CATCH_CONFIG_DEFAULT_REPORTER )
diff --git a/src/catch2/catch_user_config.hpp.in b/src/catch2/catch_user_config.hpp.in
index 3f6b10e8..f7973af1 100644
--- a/src/catch2/catch_user_config.hpp.in
+++ b/src/catch2/catch_user_config.hpp.in
@@ -171,7 +171,7 @@
// ------
// Simple toggle defines
-// their value is never used and they cannot be overriden
+// their value is never used and they cannot be overridden
// ------
diff --git a/src/catch2/interfaces/catch_interfaces_reporter.hpp b/src/catch2/interfaces/catch_interfaces_reporter.hpp
index 0ce62e86..b40fce31 100644
--- a/src/catch2/interfaces/catch_interfaces_reporter.hpp
+++ b/src/catch2/interfaces/catch_interfaces_reporter.hpp
@@ -205,7 +205,7 @@ namespace Catch {
*/
virtual void skipTest( TestCaseInfo const& testInfo ) = 0;
- //! Called if a fatal error (signal/structured exception) occured
+ //! Called if a fatal error (signal/structured exception) occurred
virtual void fatalErrorEncountered( StringRef error ) = 0;
//! Writes out information about provided reporters using reporter-specific format
diff --git a/src/catch2/internal/catch_test_case_tracker.hpp b/src/catch2/internal/catch_test_case_tracker.hpp
index beff8d6d..50278c91 100644
--- a/src/catch2/internal/catch_test_case_tracker.hpp
+++ b/src/catch2/internal/catch_test_case_tracker.hpp
@@ -113,7 +113,7 @@ namespace TestCaseTracking {
//! Returns true if tracker run to completion (successfully or not)
virtual bool isComplete() const = 0;
- //! Returns true if tracker run to completion succesfully
+ //! Returns true if tracker run to completion successfully
bool isSuccessfullyCompleted() const {
return m_runState == CompletedSuccessfully;
}
diff --git a/src/catch2/internal/catch_textflow.hpp b/src/catch2/internal/catch_textflow.hpp
index ceac675d..0776ab92 100644
--- a/src/catch2/internal/catch_textflow.hpp
+++ b/src/catch2/internal/catch_textflow.hpp
@@ -59,7 +59,7 @@ namespace Catch {
// Calculates the length of the current line
void calcLength();
- // Returns current indention width
+ // Returns current indentation width
size_t indentSize() const;
// Creates an indented and (optionally) suffixed string from
diff --git a/src/catch2/matchers/catch_matchers_range_equals.hpp b/src/catch2/matchers/catch_matchers_range_equals.hpp
index ce66bed9..95b781a4 100644
--- a/src/catch2/matchers/catch_matchers_range_equals.hpp
+++ b/src/catch2/matchers/catch_matchers_range_equals.hpp
@@ -129,7 +129,7 @@ namespace Catch {
/**
* Creates a matcher that checks if all elements in a range are equal
- * to all elements in another range, in some permuation.
+ * to all elements in another range, in some permutation.
*
* Uses to provided predicate `predicate` to do the comparisons
*/
diff --git a/src/catch2/reporters/catch_reporter_cumulative_base.hpp b/src/catch2/reporters/catch_reporter_cumulative_base.hpp
index 691e1f95..267b39fd 100644
--- a/src/catch2/reporters/catch_reporter_cumulative_base.hpp
+++ b/src/catch2/reporters/catch_reporter_cumulative_base.hpp
@@ -124,7 +124,7 @@ namespace Catch {
void skipTest(TestCaseInfo const&) override {}
protected:
- //! Should the cumulative base store the assertion expansion for succesful assertions?
+ //! Should the cumulative base store the assertion expansion for successful assertions?
bool m_shouldStoreSuccesfulAssertions = true;
//! Should the cumulative base store the assertion expansion for failed assertions?
bool m_shouldStoreFailedAssertions = true;