spec/stanzacmp_spec.lua

changeset 151
8191f165b9dd
parent 101
91a9e557e0e5
child 153
f83ea6e5c3d8
equal deleted inserted replaced
150:cf2b2fcd0bc1 151:8191f165b9dd
137 <b/> 137 <b/>
138 <c/> 138 <c/>
139 </x> 139 </x>
140 </s>]]); 140 </s>]]);
141 end); 141 end);
142 it("should match", function ()
143 yes([[<iq type='set' id='{scansion:any}'>
144 <query ver='{scansion:any}' xmlns='jabber:iq:roster'>
145 <item xmlns='jabber:iq:roster' jid='nurse@localhost' subscription='none'/>
146 </query>
147 </iq>]],
148 [[<iq type='set' id='ncvDjS1d'>
149 <query ver='1' xmlns='jabber:iq:roster'>
150 <item xmlns='jabber:iq:roster' jid='nurse@localhost' subscription='none'/>
151 </query>
152 </iq>]]);
153 end);
142 end); 154 end);

mercurial