Standardized the grammar and spoken_word modules on a shared editorial_review validator
This commit is contained in:
@@ -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])
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user