.gitignore added
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.1.0 / internal / lsp / testdata / testy / testy_test.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.1.0/internal/lsp/testdata/testy/testy_test.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.1.0/internal/lsp/testdata/testy/testy_test.go
new file mode 100644 (file)
index 0000000..4939f86
--- /dev/null
@@ -0,0 +1,18 @@
+package testy
+
+import (
+       "testing"
+
+       sig "golang.org/x/tools/internal/lsp/signature"
+       "golang.org/x/tools/internal/lsp/snippets"
+)
+
+func TestSomething(t *testing.T) { //@item(TestSomething, "TestSomething(t *testing.T)", "", "func")
+       var x int //@mark(testyX, "x"),diag("x", "compiler", "x declared but not used", "error"),refs("x", testyX)
+       a()       //@mark(testyA, "a")
+}
+
+func _() {
+       _ = snippets.X(nil) //@signature("nil", "X(_ map[sig.Alias]types.CoolAlias) map[sig.Alias]types.CoolAlias", 0)
+       var _ sig.Alias
+}