# HG changeset patch # User Matthew Wild # Date 1536853518 -3600 # Node ID 21c2f3331c59b8673cc5be031f8f68130971e942 # Parent feaef6215bb845c79963b0b3d0f9da6f6b3fabbb util.stanza tests: Remove unused variable #luacheck diff -r feaef6215bb8 -r 21c2f3331c59 spec/util_stanza_spec.lua --- 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);