# go: Support benchmarks named "Benchmark" \(\#35167\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/2566acc2e746dac016d42ea4de1fbdec2b7da252)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 2566acc2e746dac016d42ea4de1fbdec2b7da252

Requested commit: 2566acc2e746dac016d42ea4de1fbdec2b7da252

Commit: 2566acc2e746dac016d42ea4de1fbdec2b7da252

Tree: aca7230f7a0f989ac8d577fbd23a8e29c1a61547

Author: Robert Fratto

Committer: GitHub

## Message

```
go: Support benchmarks named "Benchmark" (#35167)

The regular expression for benchmarks was enforcing using a suffix
(e.g., `BenchmarkFoo`), but `Benchmark` is a valid benchmark name, just
as `Test` is a valid test name, and `Fuzz` is a valid fuzz test name.

Release Notes:

- Add support for running Go benchmarks named "Benchmark"
```

## Parents

- [45b3af713e2a6b739a233a4dd3e6e795c28bf6ac](https://git.cafe/gitcafe/zed/commit/45b3af713e2a6b739a233a4dd3e6e795c28bf6ac?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/2566acc2e746dac016d42ea4de1fbdec2b7da252?format=markdown)
