Skip to content

Commit

Permalink
Fix broken test for "remove_last_char_works_with_normal_string"
Browse files Browse the repository at this point in the history
I accidentally "fixed" the missing char in the previous commit.
  • Loading branch information
cactusdualcore authored Feb 4, 2024
1 parent d08fe30 commit f922c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/text_manipulation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit f922c8e

Please sign in to comment.