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

Function TestPluginFiles_Open_BackslashPath

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

Source from the content-addressed store, hash-verified

150}
151
152func TestPluginFiles_Open_BackslashPath(t *testing.T) {
153 p := newTestPlugin(t)
154
155 nativePath := filepath.Join("items", "test-sword.yaml")
156 f, err := p.files.Open(nativePath)
157 require.NoError(t, err)
158 f.Close()
159}
160
161// ---------------------------------------------------------------------------
162// PluginFiles.Stat

Callers

nothing calls this directly

Calls 3

newTestPluginFunction · 0.85
CloseMethod · 0.65
OpenMethod · 0.45

Tested by

no test coverage detected