Software /
code /
prosody
Changeset
10515:35bf3b80480f
scansion: Trim trailing whitespace in tests
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 19 Dec 2019 16:22:12 +0100 |
parents | 10514:f0e9e5bda415 |
children | 10516:d3e6941546a8 |
files | spec/scansion/basic_message.scs spec/scansion/keep_full_sub_req.scs spec/scansion/muc_members_only_change.scs spec/scansion/muc_register.scs spec/scansion/presence_preapproval.scs spec/scansion/pubsub_basic.scs |
diffstat | 6 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/spec/scansion/basic_message.scs Thu Dec 19 10:03:16 2019 +0000 +++ b/spec/scansion/basic_message.scs Thu Dec 19 16:22:12 2019 +0100 @@ -79,7 +79,7 @@ <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 @@ 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 @@ 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
--- a/spec/scansion/keep_full_sub_req.scs Thu Dec 19 10:03:16 2019 +0000 +++ b/spec/scansion/keep_full_sub_req.scs Thu Dec 19 16:22:12 2019 +0100 @@ -30,7 +30,7 @@ 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" />
--- a/spec/scansion/muc_members_only_change.scs Thu Dec 19 10:03:16 2019 +0000 +++ b/spec/scansion/muc_members_only_change.scs Thu Dec 19 16:22:12 2019 +0100 @@ -94,7 +94,7 @@ <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'>
--- a/spec/scansion/muc_register.scs Thu Dec 19 10:03:16 2019 +0000 +++ b/spec/scansion/muc_register.scs Thu Dec 19 16:22:12 2019 +0100 @@ -328,7 +328,7 @@ </iq> # Romeo updates his own registration - + Romeo sends: <iq id='jw81b36f' to='room@conference.localhost' type='get'> <query xmlns='jabber:iq:register'/>
--- a/spec/scansion/presence_preapproval.scs Thu Dec 19 10:03:16 2019 +0000 +++ b/spec/scansion/presence_preapproval.scs Thu Dec 19 16:22:12 2019 +0100 @@ -39,7 +39,7 @@ Bob receives: <presence from="${Bob's full JID}"/> - + Bob sends: <presence to="${Alice's JID}" type="subscribe" /> @@ -50,7 +50,7 @@ </query> </iq> - + Bob receives: <presence from="${Alice's JID}" type="subscribed" />