From f8064aef4e22048d1ec0ad25eb4e4d3514d9465f Mon Sep 17 00:00:00 2001 From: Elijah Potter Date: Sat, 23 Nov 2024 13:26:32 -0700 Subject: [PATCH] test: fix test broken by merge --- harper-core/src/spell/full_dictionary.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/harper-core/src/spell/full_dictionary.rs b/harper-core/src/spell/full_dictionary.rs index a11cd516..21e7476e 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]