forked from mirror/cobra
cmd: Delete redundant symbols from helpers_test.go and licenses.go
This commit is contained in:
parent
78a8032244
commit
6d4267ffb7
|
@ -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 New Issue