Software /
code /
prosody
Diff
spec/util_stanza_spec.lua @ 9308:21c2f3331c59
util.stanza tests: Remove unused variable #luacheck
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 13 Sep 2018 16:45:18 +0100 |
parent | 9307:feaef6215bb8 |
child | 9630:bff66c3faceb |
line wrap: on
line diff
--- 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);