(t *testing.T)
| 9 | const examplePluginPath = "github.com/gotify/server/v2/plugin/example/echo" |
| 10 | |
| 11 | func 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 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…