File: helpers_test.go

package info (click to toggle)
cobra-cli 1.3.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 460 kB
  • sloc: makefile: 46
file content (9 lines) | stat: -rw-r--r-- 106 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
package cmd

import "testing"

func assertNoErr(t *testing.T, e error) {
	if e != nil {
		t.Error(e)
	}
}