Skip to content

Commit

Permalink
test(core): add test for issue #253
Browse files Browse the repository at this point in the history
  • Loading branch information
elijah-potter committed Dec 30, 2024
1 parent d51fec2 commit a6bb13c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions harper-core/src/linting/repeated_words.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit a6bb13c

Please sign in to comment.