Skip to content

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

test: fix test broken by merge

Elijah Potterf8064aef4e22
diff --git a/harper-core/src/spell/full_dictionary.rs b/harper-core/src/spell/full_dictionary.rs
index a11cd516b..21e7476ee 100644
--- a/harper-core/src/spell/full_dictionary.rs
+++ b/harper-core/src/spell/full_dictionary.rs
@@ -300,8 +300,8 @@ mod tests {
#[test]
fn herself_is_pronoun() {
let dict = FullDictionary::curated();
- assert!(dict.get_word_metadata_str("herself").is_pronoun());
- assert!(dict.get_word_metadata_str("Herself").is_pronoun());
+ assert!(dict.get_word_metadata_str("herself").is_pronoun_noun());
+ assert!(dict.get_word_metadata_str("Herself").is_pronoun_noun());
}
#[test]