diff options
Diffstat (limited to 'spec/util_stanza_spec.lua')
-rw-r--r-- | spec/util_stanza_spec.lua | 4 |
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); |