some deletions
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / honnef.co / go / tools@v0.0.1-2020.1.5 / simple / testdata / src / receive-blank / receive-blank.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/simple/testdata/src/receive-blank/receive-blank.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/simple/testdata/src/receive-blank/receive-blank.go
deleted file mode 100644 (file)
index 7e2087a..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-package pkg
-
-func fn() {
-       var ch chan int
-       <-ch
-       _ = <-ch // want `unnecessary assignment to the blank identifier`
-       select {
-       case <-ch:
-       case _ = <-ch: // want `unnecessary assignment to the blank identifier`
-       }
-       x := <-ch
-       y, _ := <-ch, <-ch
-       _, z := <-ch, <-ch
-       _, _, _ = x, y, z
-}