jldb/lib/testutil/util.go

11 lines
130 B
Go
Raw Normal View History

2023-10-13 09:43:27 +00:00
package testutil
import "testing"
func AssertNotNil(t *testing.T, err error) {
t.Helper()
if err != nil {
t.Fatal(err)
}
}