From 6d4267ffb7e4c41ceb081bdea3f1209e8f14499f Mon Sep 17 00:00:00 2001 From: Albert Nigmatzianov Date: Thu, 20 Apr 2017 20:31:11 +0200 Subject: [PATCH] cmd: Delete redundant symbols from helpers_test.go and licenses.go --- cobra/cmd/helpers_test.go | 5 ----- cobra/cmd/licenses.go | 5 ----- 2 files changed, 10 deletions(-) diff --git a/cobra/cmd/helpers_test.go b/cobra/cmd/helpers_test.go index bd0f759..bce9471 100644 --- a/cobra/cmd/helpers_test.go +++ b/cobra/cmd/helpers_test.go @@ -1,15 +1,10 @@ package cmd import ( - "fmt" - "os" "path/filepath" "testing" ) -var _ = fmt.Println -var _ = os.Stderr - func checkGuess(t *testing.T, wd, input, expected string) { testWd = wd inputPath = input diff --git a/cobra/cmd/licenses.go b/cobra/cmd/licenses.go index 2bd5e7f..75a0a8d 100644 --- a/cobra/cmd/licenses.go +++ b/cobra/cmd/licenses.go @@ -46,15 +46,10 @@ func init() { Licenses["custom"] = License{"Custom", []string{}, "", ""} initApache2() - initMit() - initBsdClause3() - initBsdClause2() - initGpl2() - initGpl3() // Licenses["apache20"] = License{