From a93679d9ea3ebef8b3ebe8a86acaf8e4adb04dfe Mon Sep 17 00:00:00 2001 From: Gulshan Date: Thu, 23 Nov 2023 11:39:27 +0600 Subject: [PATCH] Fix suggestions unit test --- src/fixed/method.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/fixed/method.rs b/src/fixed/method.rs index 5d71ebe..318e8f9 100644 --- a/src/fixed/method.rs +++ b/src/fixed/method.rs @@ -368,7 +368,7 @@ impl FixedMethod { return; } - // ঔ making with Hasanta + AU Length Mark + // ঔ making with Hasanta + AU Length Mark if character == B_LENGTH_MARK && rmc == B_HASANTA { self.buffer.pop(); self.buffer.push(B_OU); @@ -597,7 +597,7 @@ mod tests { let mut config = get_fixed_method_defaults(); let data = Data::new(&config); config.set_suggestion_include_english(true); - + config.set_smart_quote(true); method.get_suggestion(VC_QUOTE, 0, &data, &config); method.get_suggestion(VC_K, 0, &data, &config); @@ -630,14 +630,14 @@ mod tests { method.suggestions, [ "হাসি", - "😁", + "☺", + "🙂", "😄", "😃", + "😁", "😀", - "হাসিল", + "হাসিব", "হাসিত", - "হাসিস", - "হাসিব" ] );