MCPcopy
hub / github.com/netdata/netdata / TestEND

Function TestEND

src/go/pkg/netdataapi/api_test.go:172–181  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

170}
171
172func TestEND(t *testing.T) {
173 w := &bytes.Buffer{}
174 api := New(w)
175
176 api.END()
177
178 expected := "END\n\n"
179
180 require.Equal(t, expected, w.String())
181}
182
183func TestDISABLE(t *testing.T) {
184 w := &bytes.Buffer{}

Callers

nothing calls this directly

Calls 4

ENDMethod · 0.80
EqualMethod · 0.80
NewFunction · 0.70
StringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…