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

@@ -15,10 +15,10 @@ void
rooms_query(void **state)
{
stbbr_for_id("confreq",
"<iq id=\"confreq\" type=\"result\" to=\"stabber@localhost/profanity\" from=\"conference.localhost\">"
"<query xmlns=\"http://jabber.org/protocol/disco#items\">"
"<item jid=\"chatroom@conference.localhost\" name=\"A chat room\"/>"
"<item jid=\"hangout@conference.localhost\" name=\"Another chat room\"/>"
"<iq id='confreq' type='result' to='stabber@localhost/profanity' from='conference.localhost'>"
"<query xmlns='http://jabber.org/protocol/disco#items'>"
"<item jid='chatroom@conference.localhost' name='A chat room'/>"
"<item jid='hangout@conference.localhost' name='Another chat room'/>"
"</query>"
"</iq>"
);
@@ -31,8 +31,8 @@ rooms_query(void **state)
assert_true(prof_output_exact("hangout@conference.localhost, (Another chat room)"));
assert_true(stbbr_last_received(
"<iq id=\"confreq\" to=\"conference.localhost\" type=\"get\">"
"<query xmlns=\"http://jabber.org/protocol/disco#items\"/>"
"<iq id='confreq' to='conference.localhost' type='get'>"
"<query xmlns='http://jabber.org/protocol/disco#items'/>"
"</iq>"
));
}