Skip to content

Only do AssertResults.ReportResult if Expect and Actual differs #18

@sagatowski

Description

@sagatowski

In all the different assert-methods, the method AssertResults.ReportResult() is called independently of whether Expected is equal to Actual or not. This is unecessary, because we have that method in order for us to know whether we are should report (print) the assert or not, which we only do in case they differ. Basically, we don't need to do anything if Expected = Actual.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions