format-flowed: make quotes round-trip

This commit is contained in:
link2xt
2022-12-28 23:03:38 +00:00
parent ecc7758788
commit 8e65e794bc
4 changed files with 62 additions and 25 deletions

View File

@@ -2390,6 +2390,11 @@ mod tests {
let received = bob.recv_msg(&sent).await;
assert_eq!(received.text.as_deref(), Some(text));
let text = "> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > A";
let sent = alice.send_text(chat.id, text).await;
let received = bob.recv_msg(&sent).await;
assert_eq!(received.text.as_deref(), Some(text));
let python_program = "\
def hello():
return 'Hello, world!'";