Skip to content

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

test: cuz→because unit test

hippietrail5ae1a9605c03
diff --git a/harper-core/src/linting/phrase_corrections.rs b/harper-core/src/linting/phrase_corrections.rs
index 94a894ec8..9aa06c367 100644
--- a/harper-core/src/linting/phrase_corrections.rs
+++ b/harper-core/src/linting/phrase_corrections.rs
@@ -1761,4 +1761,13 @@ mod tests {
"Another possible cause is simply that the application does not have file creation permissions on the other machine.",
);
}
+
+ #[test]
+ fn expand_cuz() {
+ assert_suggestion_result(
+ "Stick around cuz I got a surprise for you at the end.",
+ lint_group(),
+ "Stick around because I got a surprise for you at the end.",
+ );
+ }
}