Skip to content

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

test: "markdown" also means "discount"

hippietrail9eb7bf32ad4a
diff --git a/harper-core/src/linting/spell_check.rs b/harper-core/src/linting/spell_check.rs
index f3818d558..594c4d822 100644
--- a/harper-core/src/linting/spell_check.rs
+++ b/harper-core/src/linting/spell_check.rs
@@ -137,11 +137,11 @@ mod tests {
use super::SpellCheck;
#[test]
- fn markdown_capitalized() {
+ fn america_capitalized() {
assert_suggestion_result(
- "The word markdown should be capitalized.",
+ "The word america should be capitalized.",
SpellCheck::new(FstDictionary::curated(), Dialect::American),
- "The word Markdown should be capitalized.",
+ "The word America should be capitalized.",
);
}