Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
test(sentence_capitalization): make sure commas don't deter the linter
Elijah Potterc26c129fd5f1
diff --git a/harper-core/src/linting/sentence_capitalization.rs b/harper-core/src/linting/sentence_capitalization.rsindex 90011e17b..c5ff8b353 100644--- a/harper-core/src/linting/sentence_capitalization.rs+++ b/harper-core/src/linting/sentence_capitalization.rs@@ -102,4 +102,13 @@ mod tests {1,)}++ #[test]+ fn unphased_comma() {+ assert_lint_count(+ "the linter should not be affected by, that comma.",+ SentenceCapitalization,+ 1,+ )+ }}