changeset 9311 | 21c2f3331c59 |
parent 9310 | feaef6215bb8 |
child 9634 | bff66c3faceb |
--- a/spec/util_stanza_spec.lua Thu Sep 13 16:35:48 2018 +0100 +++ b/spec/util_stanza_spec.lua Thu Sep 13 16:45:18 2018 +0100 @@ -92,11 +92,11 @@ it("should reject stanzas with no id", function () assert.has.error_match(function () - local i = st.iq(); + st.iq(); end, "id attribute"); assert.has.error_match(function () - local i = st.iq({ foo = "bar" }); + st.iq({ foo = "bar" }); end, "id attribute"); end); end);