mirror of
https://github.com/spf13/cobra
synced 2024-11-24 22:57:12 +00:00
cmd: Delete redundant symbols from helpers_test.go and licenses.go
This commit is contained in:
parent
78a8032244
commit
6d4267ffb7
2 changed files with 0 additions and 10 deletions
|
@ -1,15 +1,10 @@
|
||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"os"
|
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
var _ = fmt.Println
|
|
||||||
var _ = os.Stderr
|
|
||||||
|
|
||||||
func checkGuess(t *testing.T, wd, input, expected string) {
|
func checkGuess(t *testing.T, wd, input, expected string) {
|
||||||
testWd = wd
|
testWd = wd
|
||||||
inputPath = input
|
inputPath = input
|
||||||
|
|
|
@ -46,15 +46,10 @@ func init() {
|
||||||
Licenses["custom"] = License{"Custom", []string{}, "", ""}
|
Licenses["custom"] = License{"Custom", []string{}, "", ""}
|
||||||
|
|
||||||
initApache2()
|
initApache2()
|
||||||
|
|
||||||
initMit()
|
initMit()
|
||||||
|
|
||||||
initBsdClause3()
|
initBsdClause3()
|
||||||
|
|
||||||
initBsdClause2()
|
initBsdClause2()
|
||||||
|
|
||||||
initGpl2()
|
initGpl2()
|
||||||
|
|
||||||
initGpl3()
|
initGpl3()
|
||||||
|
|
||||||
// Licenses["apache20"] = License{
|
// Licenses["apache20"] = License{
|
||||||
|
|
Loading…
Reference in a new issue