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

Function TestNoLabelInList

formatter_test.go:170–181  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

168}
169
170func TestNoLabelInList(t *testing.T) {
171 t.Parallel()
172
173 NewFormatterTest(t,
174 WithExecutorOptions(
175 task.WithDir("testdata/label_list"),
176 ),
177 WithListOptions(task.ListOptions{
178 ListOnlyTasksWithDescriptions: true,
179 }),
180 )
181}
182
183// task -al case 1: listAll list all tasks
184func TestListAllShowsNoDesc(t *testing.T) {

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…