Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
fix(core): replace the `reexecute` dictionary entry with `re-execute` (#4042)
Mauro Pereiraeca88ee46fec
diff --git a/harper-core/dictionary.dict b/harper-core/dictionary.dictindex 4bb3e4f8f..0c553b5ea 100644--- a/harper-core/dictionary.dict+++ b/harper-core/dictionary.dict@@ -42036,6 +42036,7 @@ re/PNSg(vzre-enable/VdSGre-enslave/VdSGre-enslavement/Nmg+re-execute/VdSGreach/~VdGSNgBreachable/~JNUreacquire/VdSG@@ -42322,7 +42323,6 @@ reelect/VdSG# reëlectreentrant/Jreeve/~NVG-reexecute/VSdGreexport/VdGSNref/~NSgVZrefabricate/VGdSdiff --git a/harper-core/src/linting/disjoint_prefixes.rs b/harper-core/src/linting/disjoint_prefixes.rsindex 8564488dc..7fa056da9 100644--- a/harper-core/src/linting/disjoint_prefixes.rs+++ b/harper-core/src/linting/disjoint_prefixes.rs@@ -206,4 +206,12 @@ mod tests {"My hobby is de-extinction of the dinosaurs.",);}++ #[test]+ fn dont_join_hyphenated_re_execute_3954() {+ assert_no_lints(+ "I saw re-execute flagged with DisjointPrefixes.",+ DisjointPrefixes::new(FstDictionary::curated()),+ );+ }}