util.stanza tests: Remove unused variable #luacheck
authorMatthew Wild <mwild1@gmail.com>
Thu, 13 Sep 2018 16:45:18 +0100
changeset 9311 21c2f3331c59
parent 9310 feaef6215bb8
child 9312 33d500c25d76
util.stanza tests: Remove unused variable #luacheck
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);