Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
chore: "side of a" false positive
hippietrail9b4a8a698225
diff --git a/harper-core/src/linting/adjective_of_a.rs b/harper-core/src/linting/adjective_of_a.rsindex 0d6cb3131..c693a9094 100644--- a/harper-core/src/linting/adjective_of_a.rs+++ b/harper-core/src/linting/adjective_of_a.rs@@ -35,6 +35,7 @@ const FALSE_POSITIVES: &[&str] = &["precision",// for "rid" I removed the `5` flag in `dictionary.dict``"shadow",+ "side","short","something","sound",@@ -416,4 +417,14 @@ mod tests {// Present participles have properties of adjectives, nouns, and verbsassert_lint_count("That's the beginning of a conversation.", AdjectiveOfA, 0);}++ #[test]+ fn dont_flag_side() {+ // Can be an adjective in e.g. "via a side door"+ assert_lint_count(+ "it hit the barrier on the side of a highway",+ AdjectiveOfA,+ 0,+ );+ }}