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

Function TestCLABELCOMMIT

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

Source from the content-addressed store, hash-verified

79}
80
81func TestCLABELCOMMIT(t *testing.T) {
82 w := &bytes.Buffer{}
83 api := New(w)
84
85 api.CLABELCOMMIT()
86
87 expected := "CLABEL_COMMIT\n"
88
89 require.Equal(t, expected, w.String())
90}
91
92func TestBEGIN(t *testing.T) {
93

Callers

nothing calls this directly

Calls 4

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