Skip to content

Commit a41c3d0

Browse files
authored
Fix table markup in testing.md
1 parent 67174c7 commit a41c3d0

File tree

1 file changed

+8
-17
lines changed

1 file changed

+8
-17
lines changed

docs/reference/testing.md

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -101,23 +101,14 @@ functions that generate the test parameters, all defined in the `::testing`
101101
namespace:
102102
103103
<span id="param-generators"></span>
104-
105-
| Parameter Generator | Behavior |
106-
| ---------------------------- | -------------------------------------------- |
107-
| `Range(begin, end [, step])` | Yields values `{begin, begin+step, |
108-
: : begin+step+step, ...}`. The values do not :
109-
: : include `end`. `step` defaults to 1. :
110-
| `Values(v1, v2, ..., vN)` | Yields values `{v1, v2, ..., vN}`. |
111-
| `ValuesIn(container)` or | Yields values from a C-style array, an |
112-
: `ValuesIn(begin,end)` : STL-style container, or an iterator range :
113-
: : `[begin, end)`. :
114-
| `Bool()` | Yields sequence `{false, true}`. |
115-
| `Combine(g1, g2, ..., gN)` | Yields as `std::tuple` *n*-tuples all |
116-
: : combinations (Cartesian product) of the :
117-
: : values generated by the given *n* generators :
118-
: : `g1`, `g2`, ..., `gN`. :
119-
| `ConvertGenerator<T>(g)` | Yields values generated by generator `g`, |
120-
: : `static_cast` to `T`. :
104+
| Parameter Generator | Behavior |
105+
| ------------------- | ---------------------------------------------------- |
106+
| `Range(begin, end [, step])` | Yields values `{begin, begin+step, begin+step+step, ...}`. The values do not include `end`. `step` defaults to 1. |
107+
| `Values(v1, v2, ..., vN)` | Yields values `{v1, v2, ..., vN}`. |
108+
| `ValuesIn(container)` or `ValuesIn(begin,end)` | Yields values from a C-style array, an STL-style container, or an iterator range `[begin, end)`. |
109+
| `Bool()` | Yields sequence `{false, true}`. |
110+
| `Combine(g1, g2, ..., gN)` | Yields as `std::tuple` *n*-tuples all combinations (Cartesian product) of the values generated by the given *n* generators `g1`, `g2`, ..., `gN`. |
111+
| `ConvertGenerator<T>(g)` | Yields values generated by generator `g`, `static_cast` to `T`. |
121112
122113
The optional last argument *`name_generator`* is a function or functor that
123114
generates custom test name suffixes based on the test parameters. The function

0 commit comments

Comments
 (0)