Refactor validators into built-in registry chains
This commit is contained in:
@@ -134,9 +134,9 @@ func TestGrammarModuleValidatorChain(t *testing.T) {
|
||||
"no_effect",
|
||||
"original_text_presence",
|
||||
"confidence_threshold",
|
||||
"protected_glossary_terms",
|
||||
"non_empty_correction",
|
||||
"grammar_only_guard",
|
||||
"protected_terms",
|
||||
"non_empty_corrected_text",
|
||||
"grammar_review",
|
||||
"meaning_reversal_review",
|
||||
}
|
||||
if strings.Join(got, ",") != strings.Join(want, ",") {
|
||||
|
||||
Reference in New Issue
Block a user