Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201028153306-37f0764111ff / internal / lsp / testdata / codelens / codelens_test.go
1 package codelens //@codelens("package codelens", "run file benchmarks", "test")
2
3 import "testing"
4
5 func TestMain(m *testing.M) {} // no code lens for TestMain
6
7 func TestFuncWithCodeLens(t *testing.T) { //@codelens("func", "run test", "test")
8 }
9
10 func thisShouldNotHaveACodeLens(t *testing.T) {
11 }
12
13 func BenchmarkFuncWithCodeLens(b *testing.B) { //@codelens("func", "run benchmark", "test")
14 }
15
16 func helper() {} // expect no code lens