MCPcopy
hub / github.com/go-task/task / TestPromptWithIndirectTask

Function TestPromptWithIndirectTask

executor_test.go:877–888  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

875}
876
877func TestPromptWithIndirectTask(t *testing.T) {
878 t.Parallel()
879
880 NewExecutorTest(t,
881 WithExecutorOptions(
882 task.WithDir("testdata/prompt"),
883 task.WithAssumeTerm(true),
884 ),
885 WithTask("bar"),
886 WithInput("y\n"),
887 )
888}
889
890func TestPromptAssumeYes(t *testing.T) {
891 t.Parallel()

Callers

nothing calls this directly

Calls 4

NewExecutorTestFunction · 0.85
WithExecutorOptionsFunction · 0.85
WithTaskFunction · 0.85
WithInputFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…