Skip to content

Conversation

@jnyrup
Copy link
Member

@jnyrup jnyrup commented Oct 25, 2019

When traversing the structure of an XDocument and into
the Attributes of an xml tag, we need to move out again
using MoveToElement() to properly detect the xml tag,
and not the attributes, as self-closing.
This fixes #1166

When traversing the structure of an `XDocument` and into
the `Attributes` of an xml tag, we need to move out again
using `MoveToElement()` to properly detect the xml tag,
and not the attributes, as self-closing.
This fixes fluentassertions#1166
@jnyrup jnyrup force-pushed the SelfClosingXmlTags branch from ade2d73 to fa46521 Compare October 26, 2019 14:02
@jnyrup jnyrup merged commit edc66ab into fluentassertions:master Oct 26, 2019
@jnyrup jnyrup deleted the SelfClosingXmlTags branch October 26, 2019 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

XDocument BeEquivalentTo assertion returns incorrect path to node

3 participants