Skip to content

XElement.Should().Match() #1

@dennisdoomen

Description

@dennisdoomen

Because there are a lot more things to test than just both attributes and elements.
Currently I use something like this:

XElement.As<XNode>().Should().Match<XElement>(x => x.Name == "foo")

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions