--- a/spec/stanzacmp_spec.lua Wed Sep 12 11:37:55 2018 +0100 +++ b/spec/stanzacmp_spec.lua Thu Sep 13 16:05:24 2018 +0100 @@ -139,4 +139,16 @@ </x> </s>]]); end); + it("should match", function () + yes([[<iq type='set' id='{scansion:any}'> + <query ver='{scansion:any}' xmlns='jabber:iq:roster'> + <item xmlns='jabber:iq:roster' jid='nurse@localhost' subscription='none'/> + </query> + </iq>]], + [[<iq type='set' id='ncvDjS1d'> + <query ver='1' xmlns='jabber:iq:roster'> + <item xmlns='jabber:iq:roster' jid='nurse@localhost' subscription='none'/> + </query> + </iq>]]); + end); end);