mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
tests: Add namespace/prefix tracking test for util.xml
This commit is contained in:
parent
0d5b89d026
commit
dbe8e388f7
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue