some deletions
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / honnef.co / go / tools@v0.0.1-2020.1.5 / staticcheck / testdata / src / CheckTemplate / CheckTemplate.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/staticcheck/testdata/src/CheckTemplate/CheckTemplate.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/staticcheck/testdata/src/CheckTemplate/CheckTemplate.go
deleted file mode 100644 (file)
index f4e1cc6..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-package pkg
-
-import (
-       th "html/template"
-       tt "text/template"
-)
-
-const tmpl1 = `{{.Name}} {{.LastName}`
-const tmpl2 = `{{fn}}`
-
-func fn() {
-       tt.New("").Parse(tmpl1) // want `template`
-       tt.New("").Parse(tmpl2)
-       t1 := tt.New("")
-       t1.Parse(tmpl1)
-       th.New("").Parse(tmpl1) // want `template`
-       th.New("").Parse(tmpl2)
-       t2 := th.New("")
-       t2.Parse(tmpl1)
-       tt.New("").Delims("[[", "]]").Parse("{{abc-}}")
-}