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

Function TestRegistry_ReadFile_NotFound

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

Source from the content-addressed store, hash-verified

202}
203
204func TestRegistry_ReadFile_NotFound(t *testing.T) {
205 withRegistryPlugin(t)
206
207 _, err := registry.ReadFile("missing.txt")
208 assert.True(t, errors.Is(err, fs.ErrNotExist))
209}
210
211func TestRegistry_Open_Found(t *testing.T) {
212 withRegistryPlugin(t)

Callers

nothing calls this directly

Calls 2

withRegistryPluginFunction · 0.85
ReadFileMethod · 0.45

Tested by

no test coverage detected