Skip to content

Parameter name $expected does not make sense for assertLessThan() etc. #5849

@joachim-n

Description

@joachim-n

The parameter names $expected, $actual make sense when you're comparing two things that you expect to be the same.

But for assertLessThan() (and similar assertions), these do not make sense. $expected is not the value you expect to get, since you expect the value you are testing to be less than $expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature/assertionIssues related to assertions and expectationstype/enhancementA new idea that should be implemented

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions