MCPcopy Index your code
hub / github.com/go-task/task / WithSetupError

Function WithSetupError

task_test.go:242–244  ·  view source on GitHub ↗

WithSetupError sets the test to expect an error during the setup phase of the task execution. A fixture will be created with the output of any errors.

()

Source from the content-addressed store, hash-verified

240// WithSetupError sets the test to expect an error during the setup phase of the
241// task execution. A fixture will be created with the output of any errors.
242func WithSetupError() TestOption {
243 return &setupErrorTestOption{}
244}
245
246type setupErrorTestOption struct{}
247

Callers 2

TestEmptyTaskfileFunction · 0.85
TestIncludeChecksumFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…