Skip to content
Permalink
Browse files

generators.md: fix extraneous back tick in doc

  • Loading branch information...
hollasch authored and horenmar committed Mar 12, 2019
1 parent e509012 commit 461112580127a951f9e0d547abf9e468d7ff012e
Showing with 2 additions and 2 deletions.
  1. +2 −2 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);
}
```

0 comments on commit 4611125

Please sign in to comment.
You can’t perform that action at this time.