# go: Fix table test detection in large files \(\#57277\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3873589c02fea40fe67fd8585526f2d056e20a6b

Requested commit: 3873589c02fea40fe67fd8585526f2d056e20a6b

Commit: 3873589c02fea40fe67fd8585526f2d056e20a6b

Tree: 59c6f5f8bc3ae6524f2f9bd50ce8508584816f51

Author: Smit Barmase

Committer: GitHub

## Message

```
go: Fix table test detection in large files (#57277)

Closes #46881

Depends on #57276.

Implements `GoRunnableResolver` to post-process table test matches. The
resolver picks the correct string field by comparing against the field
used in `t.Run(tc.<field>, ...)`.

Release Notes:

- Fixed Go table tests not showing run buttons in files with many test
cases.
```

## Parents

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

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