Introduce typed D&D spell artifacts
This commit is contained in:
@@ -138,8 +138,8 @@ func TestProductionCatalogIncludesProductionModulesValidatorsAndDefaults(t *test
|
||||
if catalog.ArtifactCodecs == nil {
|
||||
t.Fatal("production artifact codec registry = nil, want initialized empty registry")
|
||||
}
|
||||
if got := catalog.ArtifactCodecs.RegisteredKinds(); len(got) != 0 {
|
||||
t.Fatalf("production artifact codec kinds = %#v, want legacy raw production path", got)
|
||||
if got := catalog.ArtifactCodecs.RegisteredKinds(); !reflect.DeepEqual(got, []contracts.ArtifactKind{"dnd/spell-list"}) {
|
||||
t.Fatalf("production artifact codec kinds = %#v, want dnd/spell-list", got)
|
||||
}
|
||||
|
||||
moduleTests := []struct {
|
||||
|
||||
Reference in New Issue
Block a user