11 lines
130 B
Go
11 lines
130 B
Go
package testutil
|
|
|
|
import "testing"
|
|
|
|
func AssertNotNil(t *testing.T, err error) {
|
|
t.Helper()
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
}
|