Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
feat:in the end of the day→at the end of the day (#1456)
Andrew Dunbarf27a6748bde7
diff --git a/harper-core/src/linting/phrase_corrections/mod.rs b/harper-core/src/linting/phrase_corrections/mod.rsindex 4a15864d0..4e391facd 100644--- a/harper-core/src/linting/phrase_corrections/mod.rs+++ b/harper-core/src/linting/phrase_corrections/mod.rs@@ -136,6 +136,12 @@ pub fn lint_group() -> LintGroup {"`at face value is more idiomatic and more common.","Corrects `on face value` to the more usual `at face value`."),+ "AtTheEndOfTheDay" => (+ ["in the end of the day"],+ ["at the end of the day"],+ "Did you mean `at the end of the day`?",+ "Corrects `in the end of the day` to `at the end of the day`."+ ),"AvoidAndAlso" => (["and also"],["and"],diff --git a/harper-core/src/linting/phrase_corrections/tests.rs b/harper-core/src/linting/phrase_corrections/tests.rsindex a5a8e6cb5..f0b47bd15 100644--- a/harper-core/src/linting/phrase_corrections/tests.rs+++ b/harper-core/src/linting/phrase_corrections/tests.rs@@ -173,6 +173,16 @@ fn correct_on_face_value() {);}+// AtTheEndOfTheDay+#[test]+fn correct_at_the_end_of_the_day() {+ assert_suggestion_result(+ "In the end of the day, it's not a big deal.",+ lint_group(),+ "At the end of the day, it's not a big deal.",+ );+}+// AvoidAndAlso// -none-