MCPcopy Create free account
hub / github.com/algolia/cli / TestErrorClass_NilError

Function TestErrorClass_NilError

pkg/telemetry/events_test.go:31–33  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

29}
30
31func TestErrorClass_NilError(t *testing.T) {
32 assert.Equal(t, "", ErrorClass(nil))
33}
34
35func TestTrackEvent_NoClientInContextIsSafe(t *testing.T) {
36 // Must not panic when the context carries no telemetry client.

Callers

nothing calls this directly

Calls 1

ErrorClassFunction · 0.85

Tested by

no test coverage detected