Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
fix(core): `someways` is not a noun
Elijah Potterc555259a19cd
diff --git a/harper-core/dictionary.dict b/harper-core/dictionary.dictindex 25d6a47b6..a05b5bd37 100644--- a/harper-core/dictionary.dict+++ b/harper-core/dictionary.dict@@ -42777,7 +42777,7 @@ somatosensory/5somber/54PYsomberness/1Msombrero/1MS-some/8~+some/8~j5somebody/81SMsomeday/somehow/@@ -42789,7 +42789,8 @@ somersetted/4somersetting/4something/8541SMsometime/5S-someway/S+someway/+someways/jsomewhat/81Ssomewhere/1somnambulism/1Mdiff --git a/harper-core/src/linting/compound_nouns/mod.rs b/harper-core/src/linting/compound_nouns/mod.rsindex 6846d91da..799398910 100644--- a/harper-core/src/linting/compound_nouns/mod.rs+++ b/harper-core/src/linting/compound_nouns/mod.rs@@ -255,4 +255,13 @@ mod tests {fn allow_issue_661() {assert_lint_count("I may be wrong.", CompoundNouns::default(), 0);}++ #[test]+ fn allow_issue_704() {+ assert_lint_count(+ "Here are some ways to do that:",+ CompoundNouns::default(),+ 0,+ );+ }}