aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2016-03-05 23:44:57 +0000
committerMatthew Wild <mwild1@gmail.com>2016-03-05 23:44:57 +0000
commitdbe8e388f79ec416564fcefe9c6f82cea887a36b (patch)
tree0fbef4e1b8441b89945c52d90e0cb446a66d9d52 /tests
parent0d5b89d026386e62529faf8f264be3a43fb3c81e (diff)
downloadprosody-dbe8e388f79ec416564fcefe9c6f82cea887a36b.tar.gz
prosody-dbe8e388f79ec416564fcefe9c6f82cea887a36b.zip
tests: Add namespace/prefix tracking test for util.xml
Diffstat (limited to 'tests')
-rw-r--r--tests/test_util_xml.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_util_xml.lua b/tests/test_util_xml.lua
index ba44da19..56d3f7b9 100644
--- a/tests/test_util_xml.lua
+++ b/tests/test_util_xml.lua
@@ -9,4 +9,5 @@ function parse(parse)
]]
local stanza = parse(x);
assert_equal(stanza.tags[2].attr.xmlns, "b");
+ assert_equal(stanza.tags[2].namespaces["a"], "b");
end