Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
test(core): example from ACM talk
Elijah Potter20b18730a048
diff --git a/harper-core/src/linting/pronoun_contraction/should_contract.rs b/harper-core/src/linting/pronoun_contraction/should_contract.rsindex fcb519ebb..90639a6bc 100644--- a/harper-core/src/linting/pronoun_contraction/should_contract.rs+++ b/harper-core/src/linting/pronoun_contraction/should_contract.rs@@ -103,4 +103,13 @@ mod tests {fn no_match_with_punctuation() {assert_lint_count("your, the best", ShouldContract::default(), 0);}++ #[test]+ fn allow_norm() {+ assert_lint_count(+ "Let's start this story by going back to the dark ages before internet applications were the norm.",+ ShouldContract::default(),+ 0,+ );+ }}