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

Function TestRegistry_Open_Found

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

Source from the content-addressed store, hash-verified

209}
210
211func TestRegistry_Open_Found(t *testing.T) {
212 withRegistryPlugin(t)
213
214 f, err := registry.Open("items/test-sword.yaml")
215 require.NoError(t, err)
216 f.Close()
217}
218
219func TestRegistry_Open_NotFound(t *testing.T) {
220 withRegistryPlugin(t)

Callers

nothing calls this directly

Calls 3

withRegistryPluginFunction · 0.85
CloseMethod · 0.65
OpenMethod · 0.45

Tested by

no test coverage detected