Preserve native null aliases in prepared glossaries
This commit is contained in:
@@ -180,7 +180,7 @@ func TestAuditaBinaryCompatibility(t *testing.T) {
|
||||
}))
|
||||
defer server.Close()
|
||||
cfg := testConfig(t)
|
||||
mustWriteTestFile(t, *cfg.Session.Inputs.GlossaryFile, "campaign:\n instruction: Preserve campaign names.\n entries: [{id: watch, name: Silver Watch, category: organization}]\n")
|
||||
mustWriteTestFile(t, *cfg.Session.Inputs.GlossaryFile, "campaign:\n instruction: Preserve campaign names.\n entries: [{id: watch, name: Silver Watch, category: organization, aliases: null}]\n")
|
||||
settingPath := filepath.Join(filepath.Dir(cfg.CampaignPath), "setting.yml")
|
||||
spellsPath := filepath.Join(filepath.Dir(cfg.CampaignPath), "spells.yml")
|
||||
mustWriteTestFile(t, settingPath, "setting: {instruction: Preserve place names., entries: [{id: harbor, name: Harbor, category: place}]}\n")
|
||||
|
||||
Reference in New Issue
Block a user