mirror of
https://github.com/spf13/cobra
synced 2024-11-18 11:47:11 +00:00
652c755d37
Use golangci-lint. Repair warnings and errors resulting from linting.
9 lines
106 B
Go
9 lines
106 B
Go
package cmd
|
|
|
|
import "testing"
|
|
|
|
func assertNoErr(t *testing.T, e error) {
|
|
if e != nil {
|
|
t.Error(e)
|
|
}
|
|
}
|