# HG changeset patch # User Matthew Wild # Date 1457221497 0 # Node ID 6e6eea2124c59be33cd772247bc3723dcd56067d # Parent d0296db76ccdb3b73ee1fc4ff128dc97d87cda01 tests: Add namespace/prefix tracking test for util.xml diff -r d0296db76ccd -r 6e6eea2124c5 tests/test_util_xml.lua --- a/tests/test_util_xml.lua Sat Mar 05 23:44:21 2016 +0000 +++ b/tests/test_util_xml.lua Sat Mar 05 23:44:57 2016 +0000 @@ -9,4 +9,5 @@ ]] local stanza = parse(x); assert_equal(stanza.tags[2].attr.xmlns, "b"); + assert_equal(stanza.tags[2].namespaces["a"], "b"); end