mirror of
https://github.com/spf13/cobra
synced 2024-11-16 18:57:08 +00:00
10 lines
106 B
Go
10 lines
106 B
Go
|
package cmd
|
||
|
|
||
|
import "testing"
|
||
|
|
||
|
func assertNoErr(t *testing.T, e error) {
|
||
|
if e != nil {
|
||
|
t.Error(e)
|
||
|
}
|
||
|
}
|