aboutsummaryrefslogtreecommitdiffstats
path: root/spec
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
commit39ff6a385ef0731afa5a4c23fab7f70bf468d1b9 (patch)
treed6cf4680485c06e31b0b15d0b22218efa484cb0a /spec
parentb3cfe2bd756130511003632da06aedd0f7dc7193 (diff)
downloadprosody-39ff6a385ef0731afa5a4c23fab7f70bf468d1b9.tar.gz
prosody-39ff6a385ef0731afa5a4c23fab7f70bf468d1b9.zip
util.stanza tests: Remove unused variable #luacheck
Diffstat (limited to 'spec')
-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);