aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/util_error_spec.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/util_error_spec.lua b/spec/util_error_spec.lua
index be176635..ebe8bff7 100644
--- a/spec/util_error_spec.lua
+++ b/spec/util_error_spec.lua
@@ -56,6 +56,9 @@ describe("util.error", function ()
assert.equal(e, err.context.stanza);
assert.equal("error.example", err.context.by);
assert.not_nil(err.extra.tag);
+ assert.not_has_error(function ()
+ errors.from_stanza(st.message())
+ end);
end);
end);