MCPcopy Index your code
hub / github.com/netdata/netdata / TestEMPTYLINE

Function TestEMPTYLINE

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

Source from the content-addressed store, hash-verified

192}
193
194func TestEMPTYLINE(t *testing.T) {
195 w := &bytes.Buffer{}
196 api := New(w)
197
198 require.NoError(t, api.EMPTYLINE())
199
200 expected := "\n"
201
202 require.Equal(t, expected, w.String())
203}
204
205func TestHOSTINFO(t *testing.T) {
206 w := &bytes.Buffer{}

Callers

nothing calls this directly

Calls 4

EMPTYLINEMethod · 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…