Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
fix: lint for lets verb that is not also lets noun
hippietrail7d4e03d80ff6
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 42a26df29..0c6e4abda 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@@ -86,14 +86,14 @@ mod tests {// Corrections- // #[test]- // fn fix_lets_runs() {- // assert_suggestion_result(- // "Now lets runs liminal",- // NoContractionWithVerb::default(),- // "Now let's runs liminal",- // );- // }+ #[test]+ fn fix_lets_inspect() {+ assert_suggestion_result(+ "In the end lets inspect with git-blame the results.",+ NoContractionWithVerb::default(),+ "In the end let's inspect with git-blame the results.",+ );+ }// False positives where verb is also a noun