From e45667b547852f6573cc4257e2f2ff5492ab7e9e Mon Sep 17 00:00:00 2001 From: Hocuri Date: Mon, 3 Aug 2026 17:55:13 +0200 Subject: [PATCH] test: Make the test check for the exact set of recipients --- src/mimefactory/mimefactory_tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mimefactory/mimefactory_tests.rs b/src/mimefactory/mimefactory_tests.rs index d9232c4c5..57d47ecf5 100644 --- a/src/mimefactory/mimefactory_tests.rs +++ b/src/mimefactory/mimefactory_tests.rs @@ -902,9 +902,9 @@ async fn test_bcc_self() -> Result<()> { for chat_id in [group, single_chat] { let sent = alice.send_text(chat_id, "Heyho!").await; if bcc_self { - assert!(sent.recipients.ends_with("alice@example.org")); + assert_eq!(sent.recipients, "bob@example.net alice@example.org"); } else { - assert_eq!(sent.recipients.contains("alice@example.org"), false); + assert_eq!(sent.recipients, "bob@example.net"); } } }