Skip to content

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

Merge branch 'master' into remove-letters

Elijah Potter315290bfeb02
diff --cc harper-core/src/linting/compound_nouns/mod.rs
index 344204328,466cb608c..578ca7e07
--- a/harper-core/src/linting/compound_nouns/mod.rs
+++ b/harper-core/src/linting/compound_nouns/mod.rs
@@@ -265,8 -267,39 +267,44 @@@ mod tests
);
}
+ #[test]
+ fn allows_issue_722() {
+ assert_lint_count("Leaving S and K alone.", CompoundNouns::default(), 0);
+ }
++
+ #[test]
+ fn allows_issue_721() {
+ assert_lint_count(
+ "So if you adjust any one of these adjusters that can have a negative or a positive effect.",
+ CompoundNouns::default(),
+ 0,
+ );
+ }
+
+ #[test]
+ fn allows_678() {
+ assert_lint_count(
+ "they can't catch all the bugs.",
+ CompoundNouns::default(),
+ 0,
+ );
+ }
+
+ #[test]
+ fn ina_not_suggested() {
+ assert_lint_count(
+ "past mistakes or a character in a looping reality facing personal challenges.",
+ CompoundNouns::default(),
+ 0,
+ );
+ }
+
+ #[test]
+ fn allow_suppress_or() {
+ assert_lint_count(
+ "He must decide whether to suppress or coexist with his doppelgänger.",
+ CompoundNouns::default(),
+ 0,
+ );
+ }
}