From a6bb13cbb4702d130ae8558911a19e26ea251a2c Mon Sep 17 00:00:00 2001 From: Elijah Potter Date: Mon, 30 Dec 2024 10:13:52 -0700 Subject: [PATCH] test(core): add test for issue #253 --- harper-core/src/linting/repeated_words.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/harper-core/src/linting/repeated_words.rs b/harper-core/src/linting/repeated_words.rs index be9d0bb2..c0dfae27 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); + } }