projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
075b10d
)
tests: Add namespace/prefix tracking test for util.xml
author
Matthew Wild
<mwild1@gmail.com>
Sat, 5 Mar 2016 23:44:57 +0000
(23:44 +0000)
committer
Matthew Wild
<mwild1@gmail.com>
Sat, 5 Mar 2016 23:44:57 +0000
(23:44 +0000)
tests/test_util_xml.lua
patch
|
blob
|
history
diff --git
a/tests/test_util_xml.lua
b/tests/test_util_xml.lua
index ba44da1956e1cbd377dd1d0a3c77e25d14718bd2..56d3f7b96bafc69bb69e9f7f57924bfcbd46902d 100644
(file)
--- 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