From f922c8e015ab51a954b594da07c8996f90bf29e6 Mon Sep 17 00:00:00 2001 From: Paul Buehne <64769435+Cactus-man@users.noreply.github.com> Date: Sun, 4 Feb 2024 20:53:11 +0100 Subject: [PATCH] Fix broken test for "remove_last_char_works_with_normal_string" I accidentally "fixed" the missing char in the previous commit. --- src/utils/text_manipulation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/text_manipulation.rs b/src/utils/text_manipulation.rs index fa1e0dfc..0428180b 100644 --- a/src/utils/text_manipulation.rs +++ b/src/utils/text_manipulation.rs @@ -26,7 +26,7 @@ mod test { fn remove_last_char_works_with_normal_string() { let string = "this is a string"; - assert_eq!(remove_last_grapheme(string), "this is a string"); + assert_eq!(remove_last_grapheme(string), "this is a strin"); } #[test]