(t *testing.T)
| 224 | } |
| 225 | |
| 226 | func TestRegistry_Stat_Found(t *testing.T) { |
| 227 | withRegistryPlugin(t) |
| 228 | |
| 229 | info, err := registry.Stat("items/test-sword.yaml") |
| 230 | require.NoError(t, err) |
| 231 | assert.Equal(t, "test-sword.yaml", info.Name()) |
| 232 | } |
| 233 | |
| 234 | func TestRegistry_Stat_NotFound(t *testing.T) { |
| 235 | withRegistryPlugin(t) |
nothing calls this directly
no test coverage detected