mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-13 17:44:52 +02:00
Fixed command line link
@@ -42,7 +42,7 @@ To keep things simple we'll put everything in a single file.
|
||||
}
|
||||
```
|
||||
|
||||
This will compile to a complete executable, which responds to [[command line parameters]]. If you just run it with no arguments it will execute all test cases (in this case there is just one), report any failures, report a summary of how many tests passed and failed and return the number of failed tests (useful for if you just want a yes/ no answer to: "did it work").
|
||||
This will compile to a complete executable, which responds to [[command line parameters|https://github.com/philsquared/Catch/wiki/Command-line]]. If you just run it with no arguments it will execute all test cases (in this case there is just one), report any failures, report a summary of how many tests passed and failed and return the number of failed tests (useful for if you just want a yes/ no answer to: "did it work").
|
||||
|
||||
If you run this as written it will pass. Everything is good. Right?
|
||||
Well, there is still a bug here. In fact the first version of this tutorial I posted here genuinely had the bug in! So it's not completely contrived (thanks to Daryle Walker (@CTMacUser) for pointing this out).
|
||||
|
Reference in New Issue
Block a user