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

Function TestTextFormatter

formatters_test.go:35–38  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

33}
34
35func TestTextFormatter(t *testing.T) {
36 f := &TextFormatter{}
37 assert.Equal(t, "{\n \"CallerReference\": null,\n \"Id\": \"/hostedzone/Z1RWMUCMCPKCJX\",\n \"Name\": \"example.com.\",\n \"Config\": {\n \"Comment\": \"comment\",\n \"PrivateZone\": false\n },\n \"Features\": null,\n \"LinkedService\": null,\n \"ResourceRecordSetCount\": 2\n}\n", formatTest(f))
38}
39
40func TestJsonFormatter(t *testing.T) {
41 f := &JsonFormatter{}

Callers

nothing calls this directly

Calls 1

formatTestFunction · 0.85

Tested by

no test coverage detected