tests: fix functional test message_receive_chatwin

This commit is contained in:
Michael Vetter
2026-03-05 22:21:58 +01:00
parent 2692f70473
commit 23fe2a4661

View File

@@ -41,12 +41,11 @@ message_receive_chatwin(void** state)
prof_connect();
prof_input("/msg someuser@chatserv.org");
assert_true(prof_output_exact("someuser@chatserv.org"));
stbbr_send(
"<message id='message1' to='stabber@localhost' from='someuser@chatserv.org/laptop' type='chat'>"
"<body>How are you?</body>"
"</message>");
assert_true(prof_output_exact("someuser@chatserv.org/laptop: How are you?"));
assert_true(prof_output_regex("someuser@chatserv.org/laptop: How are you\\?"));
}