Skip to content

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

test(core): add test for issue #253

Elijah Pottera6bb13cbb470
diff --git a/harper-core/src/linting/repeated_words.rs b/harper-core/src/linting/repeated_words.rs
index be9d0bb22..c0dfae27b 100644
--- a/harper-core/src/linting/repeated_words.rs
+++ b/harper-core/src/linting/repeated_words.rs
@@ -59,4 +59,9 @@ mod tests {
fn does_not_lint_homographs_record() {
assert_lint_count("To record record profits.", RepeatedWords, 0);
}
+
+ #[test]
+ fn issue_253() {
+ assert_lint_count("this paper shows that, while the method may be more accurate accurate, the turnout overestimate suggests that self-selection bias is not sufficiently reduced", RepeatedWords, 1);
+ }
}