aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-09-13 16:45:18 +0100
committerMatthew Wild <mwild1@gmail.com>2018-09-13 16:45:18 +0100
commit2219abbc3f16b89861f65bc8f30b354c1605ff13 (patch)
treed6cf4680485c06e31b0b15d0b22218efa484cb0a
parent27d8902b8e38dd459f0b69dc9f17ebf6ad3e2059 (diff)
downloadprosody-2219abbc3f16b89861f65bc8f30b354c1605ff13.tar.gz
prosody-2219abbc3f16b89861f65bc8f30b354c1605ff13.zip
util.stanza tests: Remove unused variable #luacheck
-rw-r--r--spec/util_stanza_spec.lua4
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);