parsers: Use new NSChoice API from minidom. Fixes tests

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2019-11-09 01:31:36 +01:00
parent 362ceae922
commit 70f3ef5523
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -620,7 +620,7 @@ macro_rules! generate_serialiser {
macro_rules! generate_child_test {
($child:ident, $name:tt, *) => {
true
$child.is($name, ::minidom::NSChoice::Any)
};
($child:ident, $name:tt, $ns:tt) => {
$child.is($name, crate::ns::$ns)