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

Fix lowercase namespace in own-main example

Fixes #2715
Commit
d4b0b34561a0ffe71216894caa35694e1aabdd5b
Author
Martin Hořeňovský ·
Parents
c359076e8ad5

Files · Download .tar.gz

Changes

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

diff --git a/docs/own-main.md b/docs/own-main.md
index 06ea243d..14d1be41 100644
--- a/docs/own-main.md
+++ b/docs/own-main.md
@@ -87,7 +87,7 @@ int main( int argc, char* argv[] )
   int height = 0; // Some user variable you want to be able to set
   
   // Build a new parser on top of Catch's
-  using namespace Catch::clara;
+  using namespace Catch::Clara;
   auto cli 
     = session.cli() // Get Catch's composite command line parser
     | Opt( height, "height" ) // bind variable to a new option, with a hint string