MCPcopy Index your code
hub / github.com/gotify/server / TestPluginFileLoadError

Function TestPluginFileLoadError

plugin/manager_test.go:447–452  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

445}
446
447func TestPluginFileLoadError(t *testing.T) {
448 err := pluginFileLoadError{Filename: "test.so", UnderlyingError: errors.New("test error")}
449 assert.Error(t, err)
450 assert.Contains(t, err.Error(), "test.so")
451 assert.Contains(t, err.Error(), "test error")
452}

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…