Skip to content

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

test(core): added test with capital letters

Elijah Potterc88256d1c4e3
diff --git a/harper-core/src/linting/compound_nouns/mod.rs b/harper-core/src/linting/compound_nouns/mod.rs
index 7f5d95410..344204328 100644
--- a/harper-core/src/linting/compound_nouns/mod.rs
+++ b/harper-core/src/linting/compound_nouns/mod.rs
@@ -264,4 +264,9 @@ mod tests {
0,
);
}
+
+ #[test]
+ fn allows_issue_722() {
+ assert_lint_count("Leaving S and K alone.", CompoundNouns::default(), 0);
+ }
}