Skip to content

Is.Ordered.By for fields #3082

Closed
Closed
@NUnitTester

Description

@NUnitTester

Is.Ordered.By only works with Properties but it would be nice if it also works with fields.

Assert.That(array, Is.Ordered.By("PropertyName"));

FeatureRequest:
Assert.That(array, Is.Ordered.By("FieldName"));

Perhaps it would be nice to can use internal Properties / Fields also.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions