Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
chore: "middle of a" false positive
hippietraila3c151f8e903
diff --git a/harper-core/src/linting/adjective_of_a.rs b/harper-core/src/linting/adjective_of_a.rsindex 4afcc1434..b752553ab 100644--- a/harper-core/src/linting/adjective_of_a.rs+++ b/harper-core/src/linting/adjective_of_a.rs@@ -20,6 +20,7 @@ const FALSE_POSITIVES: &[&str] = &["kind","left","meaning",+ "middle","one","part","shadow",@@ -279,4 +280,13 @@ mod tests {0,);}++ #[test]+ fn dont_flag_middle() {+ assert_lint_count(+ "just to get to that part in the middle of a blizzard",+ AdjectiveOfA,+ 0,+ );+ }}