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

Function TestJsonFormatter

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

Source from the content-addressed store, hash-verified

38}
39
40func TestJsonFormatter(t *testing.T) {
41 f := &JsonFormatter{}
42 assert.Equal(t, "[{\"CallerReference\":null,\"Id\":\"/hostedzone/Z1RWMUCMCPKCJX\",\"Name\":\"example.com.\",\"Config\":{\"Comment\":\"comment\",\"PrivateZone\":false},\"Features\":null,\"LinkedService\":null,\"ResourceRecordSetCount\":2}]\n", formatTest(f))
43}
44
45func TestJlFormatter(t *testing.T) {
46 f := &JlFormatter{}

Callers

nothing calls this directly

Calls 1

formatTestFunction · 0.85

Tested by

no test coverage detected