Standardized the grammar and spoken_word modules on a shared editorial_review validator

This commit is contained in:
2026-05-14 09:30:10 -05:00
parent b103bb2e7d
commit 6dae15656d
11 changed files with 9 additions and 65 deletions

View File

@@ -3564,8 +3564,8 @@ func TestRunProcessExplicitSpokenWordMeaningChangingCleanupRejected(t *testing.T
if len(module.ValidatorRejected) != 1 {
t.Fatalf("expected one semantic guardrail rejection, got %+v", module.ValidatorRejected)
}
if module.ValidatorRejected[0].ValidatorName != "spoken_word_review" {
t.Fatalf("expected spoken_word_review rejection, got %+v", module.ValidatorRejected[0])
if module.ValidatorRejected[0].ValidatorName != "editorial_review" {
t.Fatalf("expected editorial_review rejection, got %+v", module.ValidatorRejected[0])
}
}