Skip to content

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

fix(core): add `bypassable` to the dictionary (#2280)

Elijah Potterd31396e7a3ee
diff --git a/harper-core/dictionary.dict b/harper-core/dictionary.dict
index d740f1eef..8765d69a3 100644
--- a/harper-core/dictionary.dict
+++ b/harper-core/dictionary.dict
@@ -16086,7 +16086,7 @@ bye/~NSgJP
bygone/JNSg
bylaw/NSg
byline/NSgV
-bypass/~NgSVGd
+bypass/~NgSVGdB
bypath/Ng
bypaths/N
byplay/Ng
diff --git a/harper-core/tests/run_tests.rs b/harper-core/tests/run_tests.rs
index ca46220a2..c9ad5efb2 100644
--- a/harper-core/tests/run_tests.rs
+++ b/harper-core/tests/run_tests.rs
@@ -92,6 +92,7 @@ create_test!(issue_2054.md, 6, Dialect::British);
create_test!(issue_1988.md, 0, Dialect::American);
create_test!(issue_2054_clean.md, 0, Dialect::British);
create_test!(issue_1873.md, 0, Dialect::British);
+create_test!(issue_2246.md, 0, Dialect::American);
create_test!(issue_2233.md, 0, Dialect::American);
// It just matters that it is > 1
create_test!(issue_2151.md, 4, Dialect::British);
diff --git a/harper-core/tests/test_sources/issue_2246.md b/harper-core/tests/test_sources/issue_2246.md
new file mode 100644
index 000000000..ecb4694d7
--- /dev/null
+++ b/harper-core/tests/test_sources/issue_2246.md
@@ -0,0 +1 @@
+But current implementations will likely be bypassable.