Skip to content

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.dict
index 06ca69d24..dd6a15511 100644
--- a/harper-core/dictionary.dict
+++ b/harper-core/dictionary.dict
@@ -685,7 +685,6 @@ AstroTurf/1M
Asturias/2M
Asuncion/M
Aswan/2M
-At/SM
Atacama/2M
Atahualpa/M
Atalanta/2M
@@ -1908,7 +1907,6 @@ Ceylonese/51
Cezanne/M
Cf/M
Ch'in/2M
-Ch/N
Chablis/21M
Chad/21M
Chadian/51MS
@@ -4065,7 +4063,6 @@ Gwendoline/2M
Gwendolyn/2M
Gwyn/2M
Gypsy/125SM
-H/152M
HBO/2M
HBase/M
HDD/1
@@ -8307,7 +8304,6 @@ Reyna/M
Reynaldo/M
Reynolds/2M
Rf/M
-Rh/1M
Rhea/2M
Rhee/2M
Rheingau/M
diff --git a/harper-core/src/spell/mod.rs b/harper-core/src/spell/mod.rs
index 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() {