Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / honnef.co / go / tools@v0.0.1-2020.1.5 / staticcheck / testdata / src / CheckExec / CheckExec.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/CheckExec/CheckExec.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/staticcheck/testdata/src/CheckExec/CheckExec.go
new file mode 100644 (file)
index 0000000..ae51002
--- /dev/null
@@ -0,0 +1,10 @@
+package pkg
+
+import "os/exec"
+
+func fn() {
+       exec.Command("ls")
+       exec.Command("ls arg1") // want `first argument to exec`
+       exec.Command(`C:\Program Files\this\is\insane.exe`)
+       exec.Command("/Library/Application Support/VMware Tools/vmware-tools-daemon")
+}