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

Function WithRunError

executor_test.go:93–95  ·  view source on GitHub ↗

WithRunError tells the test to expect an error during the run phase of the task execution. A fixture will be created with the output of any errors.

()

Source from the content-addressed store, hash-verified

91// WithRunError tells the test to expect an error during the run phase of the
92// task execution. A fixture will be created with the output of any errors.
93func WithRunError() ExecutorTestOption {
94 return &runErrorTestOption{}
95}
96
97type runErrorTestOption struct{}
98

Callers 10

TestRequiresFunction · 0.85
TestPreconditionFunction · 0.85
TestAliasFunction · 0.85
TestLabelFunction · 0.85
TestPromptInSummaryFunction · 0.85
TestPromptAssumeYesFunction · 0.85
TestForCmdsFunction · 0.85
TestForDepsFunction · 0.85
TestFuzzyModelFunction · 0.85
TestFailfastFunction · 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…