Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
fix: feeded → fed (#4327)
Andrew Dunbar3bdda49b473e
diff --git a/harper-core/src/linting/regular_irregulars.rs b/harper-core/src/linting/regular_irregulars.rsindex a6e561982..c41db407f 100644--- a/harper-core/src/linting/regular_irregulars.rs+++ b/harper-core/src/linting/regular_irregulars.rs@@ -82,7 +82,7 @@ impl<D: Dictionary> ExprLinter for RegularIrregulars<D> {irregulars, word),suggestions,- ..Default::default()+ priority: 62, // higher priority (lower number) than `SpellCheck` (which is 63)})}}@@ -351,6 +351,18 @@ mod tests {"I dug a bit deeper.",);}++ #[test]+ fn fix_feeded() {+ use crate::Dialect;+ use crate::spell::FstDictionary;++ assert_suggestion_result(+ "Rune is a TUI editor, so I feeded the same terminal sequences to the old and new apps.",+ crate::linting::LintGroup::new_curated(FstDictionary::curated(), Dialect::American),+ "Rune is a TUI editor, so I fed the same terminal sequences to the old and new apps.",+ );+ }}mod adjectives {