Update examples and tests for shared glossaries
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user