test: print multiline chat descriptions with debug formatter

This commit is contained in:
link2xt
2026-05-08 19:20:36 +02:00
parent 873f077e77
commit 9d2e2f5f04

View File

@@ -3438,7 +3438,7 @@ async fn test_chat_description(
"ä ẟ 😂", "ä ẟ 😂",
] { ] {
tcm.section(&format!( tcm.section(&format!(
"Alice sets the chat description to '{description}'" "Alice sets the chat description to {description:?}"
)); ));
set_chat_description(alice, alice_chat_id, description).await?; set_chat_description(alice, alice_chat_id, description).await?;
let sent = alice.pop_sent_msg().await; let sent = alice.pop_sent_msg().await;