Skip to content

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

test(core): add exceptions for compound words

Elijah Potterdc7aeff1b714
diff --git a/harper-core/tests/run_tests.rs b/harper-core/tests/run_tests.rs
index 2368eb7b2..87ac79298 100644
--- a/harper-core/tests/run_tests.rs
+++ b/harper-core/tests/run_tests.rs
@@ -54,6 +54,7 @@ create_test!(pr_504.md, 1);
create_test!(pr_452.md, 2);
create_test!(hex_basic_clean.md, 0);
create_test!(hex_basic_dirty.md, 1);
+create_test!(misc_closed_compound_clean.md, 0);
// Make sure it doesn't panic
create_test!(lukas_homework.md, 3);
diff --git a/harper-core/tests/test_sources/misc_closed_compound_clean.md b/harper-core/tests/test_sources/misc_closed_compound_clean.md
new file mode 100644
index 000000000..216e4016e
--- /dev/null
+++ b/harper-core/tests/test_sources/misc_closed_compound_clean.md
@@ -0,0 +1,15 @@
+It's hidden right here under the carpet.
+
+I got there after him.
+
+Go back there after dinner and finish it.
+
+We've gotta go down right here.
+
+I hereby state that I got here by way of the "issues" link.
+
+It's over there in that box.
+
+I'll still be here after work.
+
+I'll meet you here after work.