Skip to content

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

test(core): cover its built-in possessive regression (#3844)

coyaSONG7fb19fd51ed5
diff --git a/harper-core/src/linting/its_contraction/mod.rs b/harper-core/src/linting/its_contraction/mod.rs
index e420c8758..8c082f1ac 100644
--- a/harper-core/src/linting/its_contraction/mod.rs
+++ b/harper-core/src/linting/its_contraction/mod.rs
@@ -258,6 +258,14 @@ mod tests {
);
}
+ #[test]
+ fn issue_2609() {
+ assert_no_lints(
+ "One such aspect is how the standard library takes great care to make working with its built-in collections as efficient as possible.",
+ ItsContraction::default(),
+ );
+ }
+
#[test]
fn ignore_past_participle_noun_phrase() {
assert_no_lints(