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

Added override keyword near IntRange::describe() method

Commit
37a4e32319d157254916100cdcc96c2d54d945d7
Author
Yurii Nakonechnyi ·
Committer
GitHub
Parents
d63307279412

Files · Download .tar.gz

Changes

 docs/matchers.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/matchers.md b/docs/matchers.md
index adbd4ce7..e3d936bd 100644
--- a/docs/matchers.md
+++ b/docs/matchers.md
@@ -100,7 +100,7 @@ public:
     // include any provided data (the begin/ end in this case) and
     // be written as if it were stating a fact (in the output it will be
     // preceded by the value under test).
-    virtual std::string describe() const {
+    virtual std::string describe() const override {
         std::ostringstream ss;
         ss << "is between " << m_begin << " and " << m_end;
         return ss.str();