From dbe8e388f79ec416564fcefe9c6f82cea887a36b Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 5 Mar 2016 23:44:57 +0000 Subject: tests: Add namespace/prefix tracking test for util.xml --- tests/test_util_xml.lua | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3