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

Function TestPluginFiles_Stat_NotFound

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

Source from the content-addressed store, hash-verified

172}
173
174func TestPluginFiles_Stat_NotFound(t *testing.T) {
175 p := newTestPlugin(t)
176
177 _, err := p.files.Stat("ghost/file.txt")
178 assert.True(t, errors.Is(err, fs.ErrNotExist))
179}
180
181func TestPluginFiles_Stat_BackslashPath(t *testing.T) {
182 p := newTestPlugin(t)

Callers

nothing calls this directly

Calls 2

newTestPluginFunction · 0.85
StatMethod · 0.45

Tested by

no test coverage detected