Comparison

spec/scansion/basic_message.scs @ 10515:35bf3b80480f

scansion: Trim trailing whitespace in tests
author Kim Alvefur <zash@zash.se>
date Thu, 19 Dec 2019 16:22:12 +0100
parent 9291:329a670ae975
comparison
equal deleted inserted replaced
10514:f0e9e5bda415 10515:35bf3b80480f
77 77
78 Juliet's phone receives: 78 Juliet's phone receives:
79 <message from="${Romeo's full JID}" type="chat"> 79 <message from="${Romeo's full JID}" type="chat">
80 <body>Hello Juliet, are you there?</body> 80 <body>Hello Juliet, are you there?</body>
81 <delay xmlns='urn:xmpp:delay' from='localhost' stamp='{scansion:any}' /> 81 <delay xmlns='urn:xmpp:delay' from='localhost' stamp='{scansion:any}' />
82 </message> 82 </message>
83 83
84 # Romeo sends another bare-JID message, it should be delivered 84 # Romeo sends another bare-JID message, it should be delivered
85 # instantly to Juliet's phone 85 # instantly to Juliet's phone
86 86
87 Romeo sends: 87 Romeo sends:
90 </message> 90 </message>
91 91
92 Juliet's phone receives: 92 Juliet's phone receives:
93 <message from="${Romeo's full JID}" type="chat"> 93 <message from="${Romeo's full JID}" type="chat">
94 <body>Oh, hi!</body> 94 <body>Oh, hi!</body>
95 </message> 95 </message>
96 96
97 # Juliet's laptop goes online, but with a negative priority 97 # Juliet's laptop goes online, but with a negative priority
98 98
99 Juliet sends: 99 Juliet sends:
100 <presence> 100 <presence>
120 </message> 120 </message>
121 121
122 Juliet's phone receives: 122 Juliet's phone receives:
123 <message from="${Romeo's full JID}" type="chat"> 123 <message from="${Romeo's full JID}" type="chat">
124 <body>How are you?</body> 124 <body>How are you?</body>
125 </message> 125 </message>
126 126
127 # Romeo sends direct to Juliet's full JID, and she should receive it 127 # Romeo sends direct to Juliet's full JID, and she should receive it
128 128
129 Romeo sends: 129 Romeo sends:
130 <message to="${Juliet's full JID}" type="chat"> 130 <message to="${Juliet's full JID}" type="chat">