MCPcopy Create free account
hub / github.com/GoMudEngine/GoMud / TestPluginFiles_Open_NotFound

Function TestPluginFiles_Open_NotFound

internal/plugins/plugins_test.go:145–150  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

143}
144
145func TestPluginFiles_Open_NotFound(t *testing.T) {
146 p := newTestPlugin(t)
147
148 _, err := p.files.Open("no/such/file.txt")
149 assert.True(t, errors.Is(err, fs.ErrNotExist))
150}
151
152func TestPluginFiles_Open_BackslashPath(t *testing.T) {
153 p := newTestPlugin(t)

Callers

nothing calls this directly

Calls 2

newTestPluginFunction · 0.85
OpenMethod · 0.45

Tested by

no test coverage detected