go-tstr / tstr / dep / deptest
github.com/go-tstr/tstr/dep/deptest
go get github.com/go-tstr/tstr/dep/deptest@v0.1.4
Functions
func ErrorIs
func ErrorIs(t *testing.T, d tstr.Dependency, fn func(), err error) boolErrorIs is a convinience wrapper around tstr.Run that can be used to test single dependency.