xmpp-rs/minidom-rs/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Maxime “pep” Buquet 1c5551a917
minidom: Implement PartialEq manually for Node and Element
Move the NamespaceAwareCompare implementation from xmpp-parsers as Node
and Element's PartialEq implementation. Thanks Astro!

It's a lot more useful in tests to use `assert_eq!` than `assert!`, so
we get both items compared (left and right) instead of a "it failed."
message.

This "breaks" comparison for these two structs in the sense that it is
not strict object comparison anymore but it ensures that namespaces are
all present in the compared objects.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-11-29 16:02:23 +01:00
..
convert.rs Rustfmt pass, and rustfmt --check in CI" 2019-10-23 01:36:02 +02:00
element.rs minidom: Implement PartialEq manually for Node and Element 2019-11-29 16:02:23 +01:00
error.rs Rustfmt pass, and rustfmt --check in CI" 2019-10-23 01:36:02 +02:00
lib.rs minidom: rustfmt latest commit 2019-11-09 01:33:46 +01:00
namespace_set.rs minidom: Use NSChoice in more places 2019-11-26 22:47:35 +11:00
node.rs minidom: Implement PartialEq manually for Node and Element 2019-11-29 16:02:23 +01:00
tests.rs minidom: Don't prepend xml prelude in writer. Add new API 2019-11-10 01:01:42 +01:00