Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
chore: re-enable test passes again, fix typo
hippietraila3047e55215f
diff --git a/harper-core/src/linting/lets_confusion/mod.rs b/harper-core/src/linting/lets_confusion/mod.rsindex 147dd1e23..ca6e31ae4 100644--- a/harper-core/src/linting/lets_confusion/mod.rs+++ b/harper-core/src/linting/lets_confusion/mod.rs@@ -37,22 +37,12 @@ mod tests {assert_suggestion_result("let's me do", LetsConfusion::default(), "lets me do");}- // "push" is also a noun so in a context like "He always lets push come to shove".- // #[test]- // fn from_harper_docs() {- // assert_suggestion_result(- // "Often the longest and the shortest words are the most helpful, so lets push them first.",- // LetsConfusion::default(),- // "Often the longest and the shortest words are the most helpful, so let's push them first.",- // );- // }-#[test]- fn like_the_one_from_harper_docs() {+ fn from_harper_docs() {assert_suggestion_result(- "Often the longest and the shortest words are the most helpful, so lets prioritize them.",+ "Often the longest and the shortest words are the most helpful, so lets push them first.",LetsConfusion::default(),- "Often the longest and the shortest words are the most helpful, so let's prioritize them.",+ "Often the longest and the shortest words are the most helpful, so let's push them first.",);}diff --git a/harper-core/src/linting/lets_confusion/no_contraction_with_verb.rs b/harper-core/src/linting/lets_confusion/no_contraction_with_verb.rsindex 91bc6533d..ed7224afd 100644--- a/harper-core/src/linting/lets_confusion/no_contraction_with_verb.rs+++ b/harper-core/src/linting/lets_confusion/no_contraction_with_verb.rs@@ -21,7 +21,7 @@ impl Default for NoContractionWithVerb {.then(WordSet::new(&["lets", "let"])).then_whitespace();- // Word is only a verb, and not the gerund/past participle form.+ // Word is only a verb, and not the gerund/present participle form.let non_ing_verb = SequencePattern::default().then(|tok: &Token, source: &[char]| {let Some(Some(meta)) = tok.kind.as_word() else {return false;