Skip to content

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

Merge branch 'master' into fisher/stable-rustc

Elijah Potter842ce9b7a2db
diff --cc harper-core/src/linting/sentence_capitalization.rs
index 25cd97ff7,012b5807e..dbc22a84e
--- a/harper-core/src/linting/sentence_capitalization.rs
+++ b/harper-core/src/linting/sentence_capitalization.rs
@@@ -90,7 -90,16 +90,16 @@@ mod tests
assert_lint_count(
"the linter should not be affected by `this` unlintable.",
SentenceCapitalization,
- 1
+ 1,
)
}
+
+ #[test]
+ fn unphased_ellipsis() {
+ assert_lint_count(
+ "the linter should not be affected by... that ellipsis.",
+ SentenceCapitalization,
+ 1
+ )
+ }
}