mirror of
https://github.com/spf13/cobra
synced 2024-11-24 14:47:12 +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)
|
|
}
|
|
}
|