MCPcopy Create free account
hub / github.com/barnybug/cli53 / formatTest

Function formatTest

formatters_test.go:29–33  ·  view source on GitHub ↗
(f Formatter)

Source from the content-addressed store, hash-verified

27}
28
29func formatTest(f Formatter) string {
30 w := &bytes.Buffer{}
31 f.formatZoneList(testZones(), w)
32 return w.String()
33}
34
35func TestTextFormatter(t *testing.T) {
36 f := &TextFormatter{}

Callers 5

TestTextFormatterFunction · 0.85
TestJsonFormatterFunction · 0.85
TestJlFormatterFunction · 0.85
TestTableFormatterFunction · 0.85
TestCSVFormatterFunction · 0.85

Calls 3

testZonesFunction · 0.85
formatZoneListMethod · 0.65
StringMethod · 0.65

Tested by

no test coverage detected