(t *testing.T)
| 179 | } |
| 180 | |
| 181 | func TestPluginFiles_Stat_BackslashPath(t *testing.T) { |
| 182 | p := newTestPlugin(t) |
| 183 | |
| 184 | nativePath := filepath.Join("items", "test-sword.yaml") |
| 185 | info, err := p.files.Stat(nativePath) |
| 186 | require.NoError(t, err) |
| 187 | assert.Equal(t, "test-sword.yaml", info.Name()) |
| 188 | } |
| 189 | |
| 190 | // --------------------------------------------------------------------------- |
| 191 | // pluginRegistry.ReadFile / Open / Stat |
nothing calls this directly
no test coverage detected