Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
fix(core): test parameters should match actual
Elijah Potter3f8530829e2c
diff --git a/harper-core/dictionary.dict b/harper-core/dictionary.dictindex 06ca69d24..dd6a15511 100644--- a/harper-core/dictionary.dict+++ b/harper-core/dictionary.dict@@ -685,7 +685,6 @@ AstroTurf/1MAsturias/2MAsuncion/MAswan/2M-At/SMAtacama/2MAtahualpa/MAtalanta/2M@@ -1908,7 +1907,6 @@ Ceylonese/51Cezanne/MCf/MCh'in/2M-Ch/NChablis/21MChad/21MChadian/51MS@@ -4065,7 +4063,6 @@ Gwendoline/2MGwendolyn/2MGwyn/2MGypsy/125SM-H/152MHBO/2MHBase/MHDD/1@@ -8307,7 +8304,6 @@ Reyna/MReynaldo/MReynolds/2MRf/M-Rh/1MRhea/2MRhee/2MRheingau/Mdiff --git a/harper-core/src/spell/mod.rs b/harper-core/src/spell/mod.rsindex b287a7eed..5cbe4f768 100644--- a/harper-core/src/spell/mod.rs+++ b/harper-core/src/spell/mod.rs@@ -134,8 +134,8 @@ mod tests {FstDictionary, FullDictionary,};- const RESULT_LIMIT: usize = 60;- const MAX_EDIT_DIST: u8 = 3;+ const RESULT_LIMIT: usize = 100;+ const MAX_EDIT_DIST: u8 = 2;#[test]fn normalizes_weve() {