Keep match boundaries for exempt glossary names

This commit is contained in:
2026-11-10 20:33:24 +00:00
parent 50940083c8
commit 7710101da0
9 changed files with 94 additions and 22 deletions

View File

@@ -40,7 +40,7 @@ func TestExecuteModuleProposalBuildsMessagesFromSectionAndDescription(t *testing
Settings: cfg,
WorkingTranscript: transcript,
Glossary: glossary,
ProtectedTerms: []domain.Term{{Spelling: "Separate protection"}},
ProtectedTerms: []domain.Term{{Spelling: "Separate protection"}, {Spelling: "Exempt boundary", Exempt: true}},
Section: &section,
},
RunSpec: contracts.ModuleRunSpec{