diff options
author | James Booth <boothj5@gmail.com> | 2015-12-30 00:12:24 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-12-30 00:12:24 +0000 |
commit | 7f98e013e1ba103f3c9b4606be369f49673a2711 (patch) | |
tree | 4a904a7baf6d8209a57881c849ec5cbfe17d0708 /tests/functionaltests/test_receipts.c | |
parent | 6a8656a06b209e7e181ad8670fe50b7e6fe89572 (diff) | |
download | profani-tty-7f98e013e1ba103f3c9b4606be369f49673a2711.tar.gz |
Use single quotes in functional test stanzas
Diffstat (limited to 'tests/functionaltests/test_receipts.c')
-rw-r--r-- | tests/functionaltests/test_receipts.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/functionaltests/test_receipts.c b/tests/functionaltests/test_receipts.c index 357663f3..6a347f7e 100644 --- a/tests/functionaltests/test_receipts.c +++ b/tests/functionaltests/test_receipts.c @@ -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>" )); } |