tests: Add namespace/prefix tracking test for util.xml

This commit is contained in:
Matthew Wild 2016-03-05 23:44:57 +00:00
parent 0d5b89d026
commit dbe8e388f7

View file

@ -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