Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

"clockword" added to false positives

hippietraileb00be634111
diff --git a/harper-core/src/linting/adjective_of_a.rs b/harper-core/src/linting/adjective_of_a.rs
index 323fd9bf2..5dd08ed93 100644
--- a/harper-core/src/linting/adjective_of_a.rs
+++ b/harper-core/src/linting/adjective_of_a.rs
@@ -22,6 +22,7 @@ const FALSE_POSITIVES: &[&str] = &[
"bit",
"bottom",
"chance",
+ "clockwork",
"derivative",
"dream",
"front",
@@ -448,4 +449,13 @@ mod tests {
0,
);
}
+
+ #[test]
+ fn dont_flag_clockwork() {
+ assert_lint_count(
+ "so something's wrong in this clockwork of a thing and I'm not going to bother taking this apart",
+ AdjectiveOfA,
+ 0,
+ );
+ }
}