From 39ff6a385ef0731afa5a4c23fab7f70bf468d1b9 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 13 Sep 2018 16:45:18 +0100 Subject: util.stanza tests: Remove unused variable #luacheck --- spec/util_stanza_spec.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec') 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); -- cgit v1.2.3