aboutsummaryrefslogtreecommitdiffstats
path: root/spec/scansion
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-12-19 16:22:12 +0100
committerKim Alvefur <zash@zash.se>2019-12-19 16:22:12 +0100
commit228ec67d9790822defd4cf7d64bb1de6f479f0aa (patch)
treeec7c6ff1d0fc975a007e8d988a2b93343554e999 /spec/scansion
parent173990157fad6d4507e8ce2dc214e7bf35a17822 (diff)
downloadprosody-228ec67d9790822defd4cf7d64bb1de6f479f0aa.tar.gz
prosody-228ec67d9790822defd4cf7d64bb1de6f479f0aa.zip
scansion: Trim trailing whitespace in tests
Diffstat (limited to 'spec/scansion')
-rw-r--r--spec/scansion/basic_message.scs6
-rw-r--r--spec/scansion/keep_full_sub_req.scs2
-rw-r--r--spec/scansion/muc_members_only_change.scs2
-rw-r--r--spec/scansion/muc_register.scs2
-rw-r--r--spec/scansion/presence_preapproval.scs4
-rw-r--r--spec/scansion/pubsub_basic.scs2
6 files changed, 9 insertions, 9 deletions
diff --git a/spec/scansion/basic_message.scs b/spec/scansion/basic_message.scs
index fb21c465..1258dbf5 100644
--- a/spec/scansion/basic_message.scs
+++ b/spec/scansion/basic_message.scs
@@ -79,7 +79,7 @@ Juliet's phone receives:
<message from="${Romeo's full JID}" type="chat">
<body>Hello Juliet, are you there?</body>
<delay xmlns='urn:xmpp:delay' from='localhost' stamp='{scansion:any}' />
- </message>
+ </message>
# Romeo sends another bare-JID message, it should be delivered
# instantly to Juliet's phone
@@ -92,7 +92,7 @@ Romeo sends:
Juliet's phone receives:
<message from="${Romeo's full JID}" type="chat">
<body>Oh, hi!</body>
- </message>
+ </message>
# Juliet's laptop goes online, but with a negative priority
@@ -122,7 +122,7 @@ Romeo sends:
Juliet's phone receives:
<message from="${Romeo's full JID}" type="chat">
<body>How are you?</body>
- </message>
+ </message>
# Romeo sends direct to Juliet's full JID, and she should receive it
diff --git a/spec/scansion/keep_full_sub_req.scs b/spec/scansion/keep_full_sub_req.scs
index 244c1d55..41ffec0d 100644
--- a/spec/scansion/keep_full_sub_req.scs
+++ b/spec/scansion/keep_full_sub_req.scs
@@ -30,7 +30,7 @@ Bob sends:
Bob receives:
<presence from="${Bob's full JID}"/>
-
+
Bob receives:
<presence from="${Alice's JID}" type="subscribe">
<preauth xmlns="urn:xmpp:pars:0" token="1tMFqYDdKhfe2pwp" />
diff --git a/spec/scansion/muc_members_only_change.scs b/spec/scansion/muc_members_only_change.scs
index dc40b5a0..a708dbfb 100644
--- a/spec/scansion/muc_members_only_change.scs
+++ b/spec/scansion/muc_members_only_change.scs
@@ -94,7 +94,7 @@ Romeo sends:
<item affiliation='none' jid="${Juliet's JID}" />
</query>
</iq>
-
+
# As a non-member, Juliet must now be removed from the room
Romeo receives:
<presence type='unavailable' from='room@conference.localhost/Juliet'>
diff --git a/spec/scansion/muc_register.scs b/spec/scansion/muc_register.scs
index 5d1f5f3e..81612829 100644
--- a/spec/scansion/muc_register.scs
+++ b/spec/scansion/muc_register.scs
@@ -328,7 +328,7 @@ Romeo receives:
</iq>
# Romeo updates his own registration
-
+
Romeo sends:
<iq id='jw81b36f' to='room@conference.localhost' type='get'>
<query xmlns='jabber:iq:register'/>
diff --git a/spec/scansion/presence_preapproval.scs b/spec/scansion/presence_preapproval.scs
index ce6158d2..e34ac7cf 100644
--- a/spec/scansion/presence_preapproval.scs
+++ b/spec/scansion/presence_preapproval.scs
@@ -39,7 +39,7 @@ Bob sends:
Bob receives:
<presence from="${Bob's full JID}"/>
-
+
Bob sends:
<presence to="${Alice's JID}" type="subscribe" />
@@ -50,7 +50,7 @@ Bob receives:
</query>
</iq>
-
+
Bob receives:
<presence from="${Alice's JID}" type="subscribed" />
diff --git a/spec/scansion/pubsub_basic.scs b/spec/scansion/pubsub_basic.scs
index d983ff66..0adf6857 100644
--- a/spec/scansion/pubsub_basic.scs
+++ b/spec/scansion/pubsub_basic.scs
@@ -32,7 +32,7 @@ Juliet connects
-- <subscribe node="princely_musings" jid="${Romeo's full JID}"/>
-- </pubsub>
-- </iq>
---
+--
-- Juliet receives:
-- <iq type="error"/>