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
generators.md: fix extraneous back tick in doc
- Commit
461112580127a951f9e0d547abf9e468d7ff012e- Author
- Steve Hollasch ·
- Committer
- Martin Hořeňovský
- Parents
e509012e6469
Changes
docs/generators.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/generators.md b/docs/generators.md index 8ad47e39..da6e5a03 100644 --- a/docs/generators.md +++ b/docs/generators.md @@ -61,7 +61,7 @@ type, making their usage much nicer. These are * `map<T>(func, GeneratorWrapper<U>&&)` for `MapGenerator<T, U, Func>` (map `U` to `T`) * `chunk(chunk-size, GeneratorWrapper<T>&&)` for `ChunkGenerator<T>` * `random(IntegerOrFloat a, IntegerOrFloat b)` for `RandomIntegerGenerator` or `RandomFloatGenerator` -* `range(start, end)` for `RangeGenerator<T>` with a step size of `1` +* `range(start, end)` for `RangeGenerator<T>` with a step size of `1` * `range(start, end, step)` for `RangeGenerator<T>` with a custom step size @@ -98,7 +98,7 @@ if you want them to come out as `std::string`: ```cpp TEST_CASE("type conversion", "[generators]") { - auto str = GENERATE(as<std::string>{}, "a", "bb", "ccc");` + auto str = GENERATE(as<std::string>{}, "a", "bb", "ccc"); REQUIRE(str.size() > 0); } ```