diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-09-13 16:45:18 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-09-13 16:45:18 +0100 |
commit | 2219abbc3f16b89861f65bc8f30b354c1605ff13 (patch) | |
tree | d6cf4680485c06e31b0b15d0b22218efa484cb0a | |
parent | 27d8902b8e38dd459f0b69dc9f17ebf6ad3e2059 (diff) | |
download | prosody-2219abbc3f16b89861f65bc8f30b354c1605ff13.tar.gz prosody-2219abbc3f16b89861f65bc8f30b354c1605ff13.zip |
util.stanza tests: Remove unused variable #luacheck
-rw-r--r-- | spec/util_stanza_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/util_stanza_spec.lua b/spec/util_stanza_spec.lua index dcbd6cf8..7eaadfe6 100644 --- a/spec/util_stanza_spec.lua +++ b/spec/util_stanza_spec.lua @@ -92,11 +92,11 @@ describe("util.stanza", function() 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); |