Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
feat:every since→ever since (#1704)
Andrew Dunbarcb813b720377
diff --git a/harper-core/src/linting/phrase_corrections/mod.rs b/harper-core/src/linting/phrase_corrections/mod.rsindex c0160fcfb..8ef335232 100644--- a/harper-core/src/linting/phrase_corrections/mod.rs+++ b/harper-core/src/linting/phrase_corrections/mod.rs@@ -342,6 +342,13 @@ pub fn lint_group() -> LintGroup {"Corrects the missing hyphen in `ever present` to the compound adjective `ever-present`.",LintKind::Punctuation),+ "EverSince" => (+ ["every since"],+ ["ever since"],+ "Did you mean `ever since`?",+ "Corrects `every since` to `ever since`.",+ LintKind::Typo+ ),"EveryTime" => (["everytime"],["every time"],diff --git a/harper-core/src/linting/phrase_corrections/tests.rs b/harper-core/src/linting/phrase_corrections/tests.rsindex 28a6feea7..1057ae322 100644--- a/harper-core/src/linting/phrase_corrections/tests.rs+++ b/harper-core/src/linting/phrase_corrections/tests.rs@@ -409,6 +409,16 @@ fn detect_ever_present_real_world() {);}+// EverSince+#[test]+fn detect_ever_since() {+ assert_suggestion_result(+ "einstein been real quiet every since this dropped",+ lint_group(),+ "einstein been real quiet ever since this dropped",+ );+}+// EveryTime#[test]fn fix_everytime() {