From f5667bbf8769dc0524e36c4ab043e15175f76e27 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(+) (limited to 'tests/test_util_xml.lua') 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