Software /
code /
prosody
Changeset
9308:21c2f3331c59
util.stanza tests: Remove unused variable #luacheck
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 13 Sep 2018 16:45:18 +0100 |
parents | 9307:feaef6215bb8 |
children | 9309:33d500c25d76 |
files | spec/util_stanza_spec.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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);