about summary refs log tree commit diff stats
path: root/tests/functionaltests/proftest.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-12-30 00:12:24 +0000
committerJames Booth <boothj5@gmail.com>2015-12-30 00:12:24 +0000
commit7f98e013e1ba103f3c9b4606be369f49673a2711 (patch)
tree4a904a7baf6d8209a57881c849ec5cbfe17d0708 /tests/functionaltests/proftest.c
parent6a8656a06b209e7e181ad8670fe50b7e6fe89572 (diff)
downloadprofani-tty-7f98e013e1ba103f3c9b4606be369f49673a2711.tar.gz
Use single quotes in functional test stanzas
Diffstat (limited to 'tests/functionaltests/proftest.c')
-rw-r--r--tests/functionaltests/proftest.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/functionaltests/proftest.c b/tests/functionaltests/proftest.c
index 2888aaad..3b256f60 100644
--- a/tests/functionaltests/proftest.c
+++ b/tests/functionaltests/proftest.c
@@ -227,8 +227,8 @@ void
 prof_connect_with_roster(char *roster)
 {
     GString *roster_str = g_string_new(
-        "<iq type=\"result\" to=\"stabber@localhost/profanity\">"
-            "<query xmlns=\"jabber:iq:roster\" ver=\"362\">"
+        "<iq type='result' to='stabber@localhost/profanity'>"
+            "<query xmlns='jabber:iq:roster' ver='362'>"
     );
     g_string_append(roster_str, roster);
     g_string_append(roster_str,
@@ -240,9 +240,9 @@ prof_connect_with_roster(char *roster)
     g_string_free(roster_str, TRUE);
 
     stbbr_for_id("prof_presence_1",
-        "<presence id=\"prof_presence_1\" lang=\"en\" to=\"stabber@localhost/profanity\" from=\"stabber@localhost/profanity\">"
+        "<presence id='prof_presence_1' lang='en' to='stabber@localhost/profanity' from='stabber@localhost/profanity'>"
             "<priority>0</priority>"
-            "<c hash=\"sha-1\" xmlns=\"http://jabber.org/protocol/caps\" node=\"http://www.profanity.im\" ver=\"f8mrtdyAmhnj8Ca+630bThSL718=\"/>"
+            "<c hash='sha-1' xmlns='http://jabber.org/protocol/caps' node='http://www.profanity.im' ver='f8mrtdyAmhnj8Ca+630bThSL718='/>"
         "</presence>"
     );
 
@@ -260,7 +260,7 @@ void
 prof_connect(void)
 {
     prof_connect_with_roster(
-        "<item jid=\"buddy1@localhost\" subscription=\"both\" name=\"Buddy1\"/>"
-        "<item jid=\"buddy2@localhost\" subscription=\"both\" name=\"Buddy2\"/>"
+        "<item jid='buddy1@localhost' subscription='both' name='Buddy1'/>"
+        "<item jid='buddy2@localhost' subscription='both' name='Buddy2'/>"
     );
 }