Skip to content

Assertion IsAfter for DateTime is not present anymore #3423

@B3RR10

Description

@B3RR10

After migrating, I can't find the IsAfter assertion for a DateTime value.

await Assert.That(dateTimeAfter).IsAfter(dateTimeBefore);

Though I found a workaround using IsGreaterThan, I still think IsAfter is more expressive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions