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

Function TestRegistry_Open_NotFound

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

Source from the content-addressed store, hash-verified

217}
218
219func TestRegistry_Open_NotFound(t *testing.T) {
220 withRegistryPlugin(t)
221
222 _, err := registry.Open("missing.txt")
223 assert.True(t, errors.Is(err, fs.ErrNotExist))
224}
225
226func TestRegistry_Stat_Found(t *testing.T) {
227 withRegistryPlugin(t)

Callers

nothing calls this directly

Calls 2

withRegistryPluginFunction · 0.85
OpenMethod · 0.45

Tested by

no test coverage detected