mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-28 23:36:20 +00:00
tests: fix functional test message_receive_chatwin
This commit is contained in:
@@ -41,12 +41,11 @@ message_receive_chatwin(void** state)
|
|||||||
prof_connect();
|
prof_connect();
|
||||||
|
|
||||||
prof_input("/msg someuser@chatserv.org");
|
prof_input("/msg someuser@chatserv.org");
|
||||||
assert_true(prof_output_exact("someuser@chatserv.org"));
|
|
||||||
|
|
||||||
stbbr_send(
|
stbbr_send(
|
||||||
"<message id='message1' to='stabber@localhost' from='someuser@chatserv.org/laptop' type='chat'>"
|
"<message id='message1' to='stabber@localhost' from='someuser@chatserv.org/laptop' type='chat'>"
|
||||||
"<body>How are you?</body>"
|
"<body>How are you?</body>"
|
||||||
"</message>");
|
"</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\\?"));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user