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

Update MessageTests.cpp

typo corrected
Commit
ed33e9787e98751e3946a066cd6bead63c44551f
Author
Pfiffikus ·
Committer
Martin Hořeňovský
Parents
f466d9a1edee

Files · Download .tar.gz

Changes

 projects/SelfTest/Baselines/console.sw.approved.txt | 2 +-
 projects/SelfTest/Baselines/junit.sw.approved.txt   | 2 +-
 projects/SelfTest/Baselines/xml.sw.approved.txt     | 2 +-
 projects/SelfTest/UsageTests/Message.tests.cpp      | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/projects/SelfTest/Baselines/console.sw.approved.txt b/projects/SelfTest/Baselines/console.sw.approved.txt
index c755c1f0..cce06fd3 100644
--- a/projects/SelfTest/Baselines/console.sw.approved.txt
+++ b/projects/SelfTest/Baselines/console.sw.approved.txt
@@ -4439,7 +4439,7 @@ with message:
   this is a success
 
 -------------------------------------------------------------------------------
-SUCCESS does not require an argument
+SUCCEED does not require an argument
 -------------------------------------------------------------------------------
 Message.tests.cpp:<line number>
 ...............................................................................
diff --git a/projects/SelfTest/Baselines/junit.sw.approved.txt b/projects/SelfTest/Baselines/junit.sw.approved.txt
index 11baab4d..6b09d917 100644
--- a/projects/SelfTest/Baselines/junit.sw.approved.txt
+++ b/projects/SelfTest/Baselines/junit.sw.approved.txt
@@ -503,7 +503,7 @@ Matchers.tests.cpp:<line number>
       </failure>
     </testcase>
     <testcase classname="<exe-name>.global" name="SUCCEED counts as a test pass" time="{duration}"/>
-    <testcase classname="<exe-name>.global" name="SUCCESS does not require an argument" time="{duration}"/>
+    <testcase classname="<exe-name>.global" name="SUCCEED does not require an argument" time="{duration}"/>
     <testcase classname="<exe-name>.Fixture" name="Scenario: BDD tests requiring Fixtures to provide commonly-accessed data or methods/Given: No operations precede me" time="{duration}"/>
     <testcase classname="<exe-name>.Fixture" name="Scenario: BDD tests requiring Fixtures to provide commonly-accessed data or methods/Given: No operations precede me/When: We get the count/Then: Subsequently values are higher" time="{duration}"/>
     <testcase classname="<exe-name>.global" name="Scenario: Do that thing with the thing/Given: This stuff exists/When: I do this/Then: it should do this" time="{duration}"/>
diff --git a/projects/SelfTest/Baselines/xml.sw.approved.txt b/projects/SelfTest/Baselines/xml.sw.approved.txt
index 99274e0f..dcc9f894 100644
--- a/projects/SelfTest/Baselines/xml.sw.approved.txt
+++ b/projects/SelfTest/Baselines/xml.sw.approved.txt
@@ -5158,7 +5158,7 @@
     <TestCase name="SUCCEED counts as a test pass" tags="[messages]" filename="projects/<exe-name>/UsageTests/Message.tests.cpp" >
       <OverallResult success="true"/>
     </TestCase>
-    <TestCase name="SUCCESS does not require an argument" tags="[.][messages]" filename="projects/<exe-name>/UsageTests/Message.tests.cpp" >
+    <TestCase name="SUCCEED does not require an argument" tags="[.][messages]" filename="projects/<exe-name>/UsageTests/Message.tests.cpp" >
       <OverallResult success="true"/>
     </TestCase>
     <TestCase name="Scenario: BDD tests requiring Fixtures to provide commonly-accessed data or methods" tags="[bdd][fixtures]" filename="projects/<exe-name>/UsageTests/BDD.tests.cpp" >
diff --git a/projects/SelfTest/UsageTests/Message.tests.cpp b/projects/SelfTest/UsageTests/Message.tests.cpp
index 6082a4e6..f3ac02a1 100644
--- a/projects/SelfTest/UsageTests/Message.tests.cpp
+++ b/projects/SelfTest/UsageTests/Message.tests.cpp
@@ -61,7 +61,7 @@ TEST_CASE( "FAIL does not require an argument", "[failing][messages][.]" ) {
     FAIL();
 }
 
-TEST_CASE( "SUCCESS does not require an argument", "[messages][.]" ) {
+TEST_CASE( "SUCCEED does not require an argument", "[messages][.]" ) {
    SUCCEED();
 }