Use single quotes in functional test stanzas

This commit is contained in:
James Booth
2015-12-30 00:12:24 +00:00
parent 6a8656a06b
commit 7f98e013e1
12 changed files with 215 additions and 215 deletions

View File

@@ -21,9 +21,9 @@ send_receipt_request(void **state)
prof_input("/msg somejid@someserver.com Hi there");
assert_true(stbbr_received(
"<message id=\"*\" type=\"chat\" to=\"somejid@someserver.com\">"
"<message id='*' type='chat' to='somejid@someserver.com'>"
"<body>Hi there</body>"
"<request xmlns=\"urn:xmpp:receipts\"/>"
"<request xmlns='urn:xmpp:receipts'/>"
"</message>"
));
}
@@ -36,15 +36,15 @@ send_receipt_on_request(void **state)
prof_connect();
stbbr_send(
"<message id=\"msg12213\" type=\"chat\" to=\"stabber@localhost/profanity\" from=\"someuser@server.org/profanity\">"
"<message id='msg12213' type='chat' to='stabber@localhost/profanity' from='someuser@server.org/profanity'>"
"<body>Wants a receipt</body>"
"<request xmlns=\"urn:xmpp:receipts\"/>"
"<request xmlns='urn:xmpp:receipts'/>"
"</message>"
);
assert_true(stbbr_received(
"<message id=\"*\" to=\"someuser@server.org/profanity\">"
"<received id=\"msg12213\" xmlns=\"urn:xmpp:receipts\"/>"
"<message id='*' to='someuser@server.org/profanity'>"
"<received id='msg12213' xmlns='urn:xmpp:receipts'/>"
"</message>"
));
}