mirror of
https://github.com/google/benchmark.git
synced 2024-12-26 20:40:21 +08:00
Fix Markdown typos in readme. (#445)
This commit is contained in:
parent
886585a3b7
commit
24b8042733
@ -199,11 +199,11 @@ The `test_case_name` is appended to the name of the benchmark and
|
||||
should describe the values passed.
|
||||
|
||||
```c++
|
||||
template <class ...ExtraArgs>`
|
||||
template <class ...ExtraArgs>
|
||||
void BM_takes_args(benchmark::State& state, ExtraArgs&&... extra_args) {
|
||||
[...]
|
||||
}
|
||||
// Registers a benchmark named "BM_takes_args/int_string_test` that passes
|
||||
// Registers a benchmark named "BM_takes_args/int_string_test" that passes
|
||||
// the specified values to `extra_args`.
|
||||
BENCHMARK_CAPTURE(BM_takes_args, int_string_test, 42, std::string("abc"));
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user