From 70f3ef55231d8e5d08f127ad28c162c00c8cfd99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sat, 9 Nov 2019 01:31:36 +0100 Subject: [PATCH] parsers: Use new NSChoice API from minidom. Fixes tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- xmpp-parsers/src/util/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmpp-parsers/src/util/macros.rs b/xmpp-parsers/src/util/macros.rs index f9d9611a..1072fb19 100644 --- a/xmpp-parsers/src/util/macros.rs +++ b/xmpp-parsers/src/util/macros.rs @@ -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)