some deletions
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201105173854-bc9fc8d8c4bc / cmd / stringer / testdata / gap.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201105173854-bc9fc8d8c4bc/cmd/stringer/testdata/gap.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/golang.org/x/tools@v0.0.0-20201105173854-bc9fc8d8c4bc/cmd/stringer/testdata/gap.go
deleted file mode 100644 (file)
index bc8a90c..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2014 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// Gaps and an offset.
-
-package main
-
-import "fmt"
-
-type Gap int
-
-const (
-       Two    Gap = 2
-       Three  Gap = 3
-       Five   Gap = 5
-       Six    Gap = 6
-       Seven  Gap = 7
-       Eight  Gap = 8
-       Nine   Gap = 9
-       Eleven Gap = 11
-)
-
-func main() {
-       ck(0, "Gap(0)")
-       ck(1, "Gap(1)")
-       ck(Two, "Two")
-       ck(Three, "Three")
-       ck(4, "Gap(4)")
-       ck(Five, "Five")
-       ck(Six, "Six")
-       ck(Seven, "Seven")
-       ck(Eight, "Eight")
-       ck(Nine, "Nine")
-       ck(10, "Gap(10)")
-       ck(Eleven, "Eleven")
-       ck(12, "Gap(12)")
-}
-
-func ck(gap Gap, str string) {
-       if fmt.Sprint(gap) != str {
-               panic("gap.go: " + str)
-       }
-}