some deletions
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / mvdan.cc / gofumpt@v0.0.0-20200802201014-ab5a8192947d / gofumports / main_test.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/mvdan.cc/gofumpt@v0.0.0-20200802201014-ab5a8192947d/gofumports/main_test.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/mvdan.cc/gofumpt@v0.0.0-20200802201014-ab5a8192947d/gofumports/main_test.go
deleted file mode 100644 (file)
index d205d34..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright (c) 2019, Daniel Martí <mvdan@mvdan.cc>
-// See LICENSE for licensing information
-
-package main
-
-import (
-       "os"
-       "path/filepath"
-       "testing"
-
-       "github.com/rogpeppe/go-internal/gotooltest"
-       "github.com/rogpeppe/go-internal/testscript"
-)
-
-func TestMain(m *testing.M) {
-       os.Exit(testscript.RunMain(m, map[string]func() int{
-               "gofumpt": func() int {
-                       // Don't change gofmtMain, to keep changes to the gofmt
-                       // codebase to a minimum.
-                       gofmtMain()
-                       return exitCode
-               },
-       }))
-}
-
-func TestScripts(t *testing.T) {
-       t.Parallel()
-       p := testscript.Params{
-               Dir: filepath.Join("..", "testdata", "scripts"),
-               Condition: func(cond string) (bool, error) {
-                       return false, nil
-               },
-       }
-       if err := gotooltest.Setup(&p); err != nil {
-               t.Fatal(err)
-       }
-       testscript.Run(t, p)
-}