MCPcopy
hub / github.com/gotify/server / TestPluginInfoStringer

Function TestPluginInfoStringer

plugin/compat/plugin_test.go:11–18  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

9const examplePluginPath = "github.com/gotify/server/v2/plugin/example/echo"
10
11func TestPluginInfoStringer(t *testing.T) {
12 info := Info{
13 ModulePath: examplePluginPath,
14 }
15 assert.Equal(t, examplePluginPath, info.String())
16 info.Name = "test name"
17 assert.Equal(t, "test name", info.String())
18}

Callers

nothing calls this directly

Calls 1

StringMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…