Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201105173854-bc9fc8d8c4bc / internal / lsp / testdata / testy / testy_test.go
1 package testy
2
3 import (
4         "testing"
5
6         sig "golang.org/x/tools/internal/lsp/signature"
7         "golang.org/x/tools/internal/lsp/snippets"
8 )
9
10 func TestSomething(t *testing.T) { //@item(TestSomething, "TestSomething(t *testing.T)", "", "func")
11         var x int //@mark(testyX, "x"),diag("x", "compiler", "x declared but not used", "error"),refs("x", testyX)
12         a()       //@mark(testyA, "a")
13 }
14
15 func _() {
16         _ = snippets.X(nil) //@signature("nil", "X(_ map[sig.Alias]types.CoolAlias) map[sig.Alias]types.CoolAlias", 0)
17         var _ sig.Alias
18 }