Skip to content

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

fix: issue #101

Elijah Potter0547685268f0
diff --git a/harper-core/dictionary.dict b/harper-core/dictionary.dict
index 21970c4bc..bcfdf7693 100644
--- a/harper-core/dictionary.dict
+++ b/harper-core/dictionary.dict
@@ -49627,3 +49627,4 @@ whitespace
JavaDoc
e.g.
i.e.
+pre
diff --git a/harper-core/tests/run_tests.rs b/harper-core/tests/run_tests.rs
index 63fdb6153..8a4408275 100644
--- a/harper-core/tests/run_tests.rs
+++ b/harper-core/tests/run_tests.rs
@@ -30,3 +30,4 @@ macro_rules! create_test {
}
create_test!(whack_bullets.md, 1);
+create_test!(preexisting.md, 0);
diff --git a/harper-core/tests/test_sources/preexisting.md b/harper-core/tests/test_sources/preexisting.md
new file mode 100644
index 000000000..fbcfd4841
--- /dev/null
+++ b/harper-core/tests/test_sources/preexisting.md
@@ -0,0 +1 @@
+Usage of pre-existing should be allowed.