Update examples and tests for shared glossaries

This commit is contained in:
2026-11-27 17:00:16 +00:00
parent 410a4109ad
commit cfcb55e28c
38 changed files with 273 additions and 59 deletions

View File

@@ -359,7 +359,7 @@ func TestNotariusReferenceValidationAndNormalization(t *testing.T) {
cfg.References = map[string]string{
" party ": " narratio.input.party ",
" chunk . players ": "narratio.input.players",
" npc-registry . extract . glossary ": "narratio.input.glossary",
" npc-registry . extract . glossary ": "narratio.input.glossary.campaign",
"spells": "narratio.input.spell_catalog",
}
@@ -372,7 +372,7 @@ func TestNotariusReferenceValidationAndNormalization(t *testing.T) {
want := map[string]string{
"party": "narratio.input.party",
"chunk.players": "narratio.input.players",
"npc-registry.extract.glossary": "narratio.input.glossary",
"npc-registry.extract.glossary": "narratio.input.glossary.campaign",
"spells": "narratio.input.spell_catalog",
}
if len(cfg.References) != len(want) {