mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-02 13:25:41 +02:00
Fix spelling
This commit is contained in:

committed by
Martin Hořeňovský

parent
10596b2278
commit
46539b6d9b
@@ -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 )
|
||||
|
@@ -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
|
||||
// ------
|
||||
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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;
|
||||
}
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
*/
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user