Use single quotes in functional test stanzas
This commit is contained in:
@@ -19,7 +19,7 @@ message_send(void **state)
|
||||
prof_input("/msg somejid@someserver.com Hi there");
|
||||
|
||||
assert_true(stbbr_received(
|
||||
"<message id=\"*\" to=\"somejid@someserver.com\" type=\"chat\">"
|
||||
"<message id='*' to='somejid@someserver.com' type='chat'>"
|
||||
"<body>Hi there</body>"
|
||||
"</message>"
|
||||
));
|
||||
@@ -33,7 +33,7 @@ message_receive_console(void **state)
|
||||
prof_connect();
|
||||
|
||||
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>"
|
||||
"</message>"
|
||||
);
|
||||
@@ -47,10 +47,10 @@ message_receive_chatwin(void **state)
|
||||
prof_connect();
|
||||
|
||||
prof_input("/msg someuser@chatserv.org");
|
||||
prof_output_exact("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\">"
|
||||
"<message id='message1' to='stabber@localhost' from='someuser@chatserv.org/laptop' type='chat'>"
|
||||
"<body>How are you?</body>"
|
||||
"</message>"
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user