MCPcopy Create free account
hub / github.com/go-task/task / applyToExecutorTest

Method applyToExecutorTest

executor_test.go:99–101  ·  view source on GitHub ↗
(t *ExecutorTest)

Source from the content-addressed store, hash-verified

97type runErrorTestOption struct{}
98
99func (opt *runErrorTestOption) applyToExecutorTest(t *ExecutorTest) {
100 t.wantRunError = true
101}
102
103// WithStatusError tells the test to make an additional call to
104// [task.Executor.Status] after the task has been run. A fixture will be created

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected