From 1ff47c4fa7f517036145daf2c70ba9c31cdd0f1c Mon Sep 17 00:00:00 2001 From: Simon Laux Date: Thu, 16 Nov 2023 13:21:30 +0100 Subject: [PATCH] cargo fmt --- tests/emoji/mod.rs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/tests/emoji/mod.rs b/tests/emoji/mod.rs index 3e54c37..4909891 100644 --- a/tests/emoji/mod.rs +++ b/tests/emoji/mod.rs @@ -1,4 +1,6 @@ -use deltachat_message_parser::parser::is_emoji::{emoji, get_first_emoji, count_emojis_if_only_contains_emoji}; +use deltachat_message_parser::parser::is_emoji::{ + count_emojis_if_only_contains_emoji, emoji, get_first_emoji, +}; #[test] fn test_all_desktop_emoji_picker_emojis() { @@ -29,9 +31,13 @@ fn test_all_desktop_emoji_picker_emojis_are_single_emojis() { let mut failed = vec![]; for case in testcases { if count_emojis_if_only_contains_emoji(case) != Some(1) { - let result= get_first_emoji(case); + let result = get_first_emoji(case); if result != Some(case) { - print!("{case}:\n{:?}\n{:?}\n", result.map(|r|r.chars()), case.chars()); + print!( + "{case}:\n{:?}\n{:?}\n", + result.map(|r| r.chars()), + case.chars() + ); failed.push(case); } }