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

Interface FormatterTestOption

formatter_test.go:18–20  ·  view source on GitHub ↗

A FormatterTestOption is a function that configures an [FormatterTest].

Source from the content-addressed store, hash-verified

16type (
17 // A FormatterTestOption is a function that configures an [FormatterTest].
18 FormatterTestOption interface {
19 applyToFormatterTest(*FormatterTest)
20 }
21 // A FormatterTest is a test wrapper around a [task.Executor] to make it
22 // easy to write tests for the task formatter. See [NewFormatterTest] for
23 // information on creating and running FormatterTests. These tests use

Callers 1

NewFormatterTestFunction · 0.65

Implementers 11

listOptionsTestOptionformatter_test.go
listErrorTestOptionformatter_test.go
nameTestOptiontask_test.go
taskTestOptiontask_test.go
varTestOptiontask_test.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…