Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
feat: another false positive "full of"
hippietrailb274581b68e5
diff --git a/harper-core/src/linting/adjective_of_a.rs b/harper-core/src/linting/adjective_of_a.rsindex 704645165..d7007ba42 100644--- a/harper-core/src/linting/adjective_of_a.rs+++ b/harper-core/src/linting/adjective_of_a.rs@@ -21,6 +21,7 @@ impl Linter for AdjectiveOfA {if match adj_chars {// Different valid constructions.+ ['f', 'u', 'l', 'l'] | ['F', 'u', 'l', 'l'] => true,['i', 'n', 's', 'i', 'd', 'e'] | ['I', 'n', 's', 'i', 'd', 'e'] => true,['m', 'u', 'c', 'h'] | ['M', 'u', 'c', 'h'] => true,['o', 'u', 't'] | ['O', 'u', 't'] => true,@@ -208,4 +209,13 @@ mod tests {0,);}++ #[test]+ fn dont_flag_full() {+ assert_lint_count(+ "fortunately I happen to have this Tupperware full of an unceremoniously disassembled LED Mac Mini",+ AdjectiveOfA,+ 0,+ );+ }}