MCPcopy
hub / github.com/lindb/lindb / TestError

Function TestError

pkg/error/error_test.go:27–31  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

25)
26
27func TestError(t *testing.T) {
28 assert.Error(t, Error(12))
29 assert.Error(t, Error("err"))
30 assert.Error(t, Error(errors.New("err")))
31}

Callers

nothing calls this directly

Calls 2

ErrorFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected