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

Function WithStatusError

executor_test.go:106–108  ·  view source on GitHub ↗

WithStatusError tells the test to make an additional call to [task.Executor.Status] after the task has been run. A fixture will be created with the output of any errors.

()

Source from the content-addressed store, hash-verified

104// [task.Executor.Status] after the task has been run. A fixture will be created
105// with the output of any errors.
106func WithStatusError() ExecutorTestOption {
107 return &statusErrorTestOption{}
108}
109
110type statusErrorTestOption struct{}
111

Callers 1

TestLabelFunction · 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…