diff options
author | Matthew Wild <mwild1@gmail.com> | 2016-03-05 23:44:57 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2016-03-05 23:44:57 +0000 |
commit | f5667bbf8769dc0524e36c4ab043e15175f76e27 (patch) | |
tree | 0fbef4e1b8441b89945c52d90e0cb446a66d9d52 | |
parent | 4daaefe2400e55b85c447f33f85917f35a3491d3 (diff) | |
download | prosody-f5667bbf8769dc0524e36c4ab043e15175f76e27.tar.gz prosody-f5667bbf8769dc0524e36c4ab043e15175f76e27.zip |
tests: Add namespace/prefix tracking test for util.xml
-rw-r--r-- | tests/test_util_xml.lua | 1 |
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 |