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

Function TestListCanListDescOnly

formatter_test.go:198–209  ·  view source on GitHub ↗

task -al case 2: !listAll list some tasks (only those with desc)

(t *testing.T)

Source from the content-addressed store, hash-verified

196
197// task -al case 2: !listAll list some tasks (only those with desc)
198func TestListCanListDescOnly(t *testing.T) {
199 t.Parallel()
200
201 NewFormatterTest(t,
202 WithExecutorOptions(
203 task.WithDir("testdata/list_mixed_desc"),
204 ),
205 WithListOptions(task.ListOptions{
206 ListOnlyTasksWithDescriptions: true,
207 }),
208 )
209}
210
211func TestListDescInterpolation(t *testing.T) {
212 t.Parallel()

Callers

nothing calls this directly

Calls 3

NewFormatterTestFunction · 0.85
WithExecutorOptionsFunction · 0.85
WithListOptionsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…